Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows vfs incorrectly thinks an implicitly hydrated 0 byte file stays dehydrated #7339

Closed
ckamm opened this issue Jul 24, 2019 · 3 comments
Labels
feature:vfs native virtual files and placeholder implementation p1-urgent Consider a hotfix release with only that fix (ex: lose trust, money, security issue, ...) p4-low Low priority type:bug
Milestone

Comments

@ckamm
Copy link
Contributor

ckamm commented Jul 24, 2019

Found while testing #7111

  • Create a folder
  • Put a 0 byte file into it
  • Use "Free up space"
  • Double click it to hydrate it without pinning it

Right click the folder and check the availability status in the ownCloud submenu. It'll say the contents are online only.

The problem here is that since no download needs to happen the cfapi "fetch" callback doesn't trigger and the client therefore doesn't realize that the file was hydrated and can't update the database.

@ckamm ckamm added type:bug p4-low Low priority feature:vfs native virtual files and placeholder implementation labels Jul 24, 2019
@ckamm ckamm added this to the 2.6.1 milestone Jul 24, 2019
@michaelstingl michaelstingl modified the milestones: 2.6.1, 2.6.2 Nov 26, 2019
@TheOneRing TheOneRing modified the milestones: 2.6.2, 2.9.0 Mar 17, 2021
@TheOneRing TheOneRing modified the milestones: 2.11.0, 2.10.0 Dec 8, 2021
@TheOneRing TheOneRing added the p1-urgent Consider a hotfix release with only that fix (ex: lose trust, money, security issue, ...) label Dec 8, 2021
@gabi18
Copy link
Contributor

gabi18 commented Dec 8, 2021

I have done these steps:

  • Create a folder
  • Put a 0 byte file into it
  • Use "Free up space"
  • Double click it to hydrate it without pinning it

I'm not sure about this:

Right click the folder and check the availability status in the ownCloud submenu. It'll say the contents are online only.

The availibity status isn't in the ownCloud submenu but in file menu... ?

issue-7339

@gabi18
Copy link
Contributor

gabi18 commented Dec 8, 2021

Next steps done:

  • 'Free up space' on folder
    Result: icon remains spinning

issue-7339_free_up_space

  • "Force sync" on client dot menu
    Result: placeholder icon is shown correctly

issue-7339_force_sync

I haven't found error messages in the logs:
20211208_1228_owncloud.log.2.gz
20211208_1245_owncloud.log.0.gz

@TheOneRing
Copy link
Member

Thx for testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature:vfs native virtual files and placeholder implementation p1-urgent Consider a hotfix release with only that fix (ex: lose trust, money, security issue, ...) p4-low Low priority type:bug
Projects
None yet
Development

No branches or pull requests

4 participants