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

doc _deleted not set during import of SDK delete #2660

Closed
adamcfraser opened this issue Jun 16, 2017 · 1 comment
Closed

doc _deleted not set during import of SDK delete #2660

adamcfraser opened this issue Jun 16, 2017 · 1 comment
Milestone

Comments

@adamcfraser
Copy link
Collaborator

When importing a document deleted outside of Sync Gateway, doc._deleted should be set to true before the document is sent through the Sync Function.

@djpongh djpongh added this to the 1.5.0 milestone Jun 21, 2017
@adamcfraser
Copy link
Collaborator Author

I wasn't able to reproduce this using the latest build. Added a unit test to validate, and to ensure there isn't a subsequent regression.

https://github.com/couchbase/sync_gateway/blob/master/rest/import_test.go#L49

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

No branches or pull requests

2 participants