-
Notifications
You must be signed in to change notification settings - Fork 6
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
Test file locking #134
Test file locking #134
Conversation
fa6668c
to
d644b03
Compare
Okay, I seem to have found out the issue. Not sure if "adding a second sync" is the way to go, or if the client should update the etag and permissions on the first sync? |
That's normal and intended, the next sync would update them via PROPFIND.
That permission string is created by who? The server? Because I don't see it retrieved in |
I don't think so, because a propget always says permissions |
Here are the full sync logs of a try: |
Okay, so I changed the test to work with folders only, instead of files. Tests still failed, then I removed the skeleton files, to make sure, that the test always only ever deals with files, and see there: test passes. So it seems that some variable is not reset correctly, after dealing with a file before reusing it for a folder. (All cheers to @guruz for that hint) |
I can't seem to find the root cause of this. I can only confirm that two things fix the issue:
I hope that helps the desktop guy stepping in here. |
@nickvergessen A potential fix was merged to master 7bd4f95b8c200e0fc2d5eff2bc5ab2428356a2ba, see owncloud/client#4548 |
Yes, confirmed that it works with that commit. Nice find! |
baf867f
to
a11606a
Compare
The test is written in a way, that it will not fail on 9.0 and when using another locking then DB, so it should be good to merge @PVince81 |
👍 |
Test description
Cases