-
Notifications
You must be signed in to change notification settings - Fork 297
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
Attachments failed to replicate when deleted and recreated #1440
Comments
https://github.com/couchbaselabs/mobile-testkit/blob/feature/add-multiple-sg-replication-test/testsuites/listener/shared/client_sg/attachments.py#L82 I don't think this is valid. Purged docs do not replicate |
Analysis:
|
I'm not clear how that line relates to this bug. If the doc was deleted and then recreated, doesn't the new revision's attachment have a |
It doesn't. It still has |
Analysis: The following sequence triggers this behavior:
In particular the third call without the revid causes the process attachments method to get a |
Once couchbase/couchbase-lite-net#790 is merged, I can port the fix to the iOS platform. |
* Ported the fix from couchbase/couchbase-lite-net#790. #1440
Per code review, add checking if there are no attachments. #1440
This also fails with Android (1.3.1-30) and .NET (1.3.1-13)
Failing test - https://github.com/couchbaselabs/mobile-testkit/blob/feature/add-multiple-sg-replication-test/testsuites/listener/shared/client_sg/attachments.py#L14-L86
Steps to reproduce:
Expected: Recreated attachment docs would sync
Actual: They do not
I am seeing these errors in the logs
The text was updated successfully, but these errors were encountered: