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

Retrieving attachment Stream fails on UnsavedRevision #407

Closed
sergio91pt opened this issue Apr 24, 2015 · 1 comment
Closed

Retrieving attachment Stream fails on UnsavedRevision #407

sergio91pt opened this issue Apr 24, 2015 · 1 comment
Milestone

Comments

@sergio91pt
Copy link

While I did not run into this here, inspecting the source code, I'm confident that the .NET version of CBL is also affected by this bug couchbase/couchbase-lite-java-core#592:

Attachment#getContent() always fails to retrieve the data set on a previous revision (eg. the parent revision), if the Attachment object is retrieved through an UnsavedRevision.

The problem is the sequence number is always 0 on UnsavedRevision and the parent sequence is not used.

@sergio91pt
Copy link
Author

I was either looking at an old version or the Sharpened directory as this was fixed 15 days ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants