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

[OCIS][OC Storage] etags are not updated on file operations #279

Closed
dpakach opened this issue Nov 5, 2020 · 1 comment
Closed

[OCIS][OC Storage] etags are not updated on file operations #279

dpakach opened this issue Nov 5, 2020 · 1 comment
Labels
bug Something isn't working p3-medium

Comments

@dpakach
Copy link

dpakach commented Nov 5, 2020

Several file operations on ocis do not update the etags of the files

  • renaming file/folder doesn't changes the etag of parent
apiWebdavEtagPropagation1/moveFileFolder.feature:20
apiWebdavEtagPropagation1/moveFileFolder.feature:21
apiWebdavEtagPropagation1/moveFileFolder.feature:308
apiWebdavEtagPropagation1/moveFileFolder.feature:323
  • moving a file/folder from one folder to another doesn't changes etag of destination folder
apiWebdavEtagPropagation1/moveFileFolder.feature:39
apiWebdavEtagPropagation1/moveFileFolder.feature:40
apiWebdavEtagPropagation1/moveFileFolder.feature:58
apiWebdavEtagPropagation1/moveFileFolder.feature:59
apiWebdavEtagPropagation1/moveFileFolder.feature:93
apiWebdavEtagPropagation1/moveFileFolder.feature:94
apiWebdavEtagPropagation1/moveFileFolder.feature:305
apiWebdavEtagPropagation1/moveFileFolder.feature:306
  • renaming a file/folder inside another folder doesn't changes etag of parent folder
apiWebdavEtagPropagation1/moveFileFolder.feature:74
apiWebdavEtagPropagation1/moveFileFolder.feature:75
apiWebdavEtagPropagation1/moveFileFolder.feature:140
apiWebdavEtagPropagation1/moveFileFolder.feature:141
apiWebdavEtagPropagation1/moveFileFolder.feature:167
apiWebdavEtagPropagation1/moveFileFolder.feature:168
apiWebdavEtagPropagation1/moveFileFolder.feature:236
apiWebdavEtagPropagation1/moveFileFolder.feature:23
@dpakach dpakach added the bug Something isn't working label Nov 5, 2020
@dpakach dpakach changed the title [OCIS][OC Storage] etags are not updated properly on file operations [OCIS][OC Storage] etags are not updated on file operations Nov 5, 2020
@phil-davis
Copy link

I tried PR owncloud/ocis#1192 that had sleeps to make sure that the original file and the rename/move/overwrite... happen at least 2 seconds apart. That ensures that the Unix timestamp is different. That did not help make any of the scenarios pass. So the issue is not just about that sort of timing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p3-medium
Projects
None yet
Development

No branches or pull requests

2 participants