Created
June 20, 2018 10:19
-
-
Save tomblench/909e5ea69428d1da2cb4c8c40b60b5a5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 1. Steps to reproduce and a small code sample that demonstrates the issue | |
<!-- | |
// Example: a code sample which creates a document in the local document store. | |
DocumentStore documentStore; | |
// ... | |
DocumentRevision doc = new DocumentRevision(); | |
doc.setBody(DocumentBodyFactory.create("{\"_foo\":\"bar\"}".getBytes())); | |
documentStore.database().create(doc); | |
--> | |
### 2. What you expected to happen | |
<!-- | |
Example: | |
I expected the document to be saved to the local document store. | |
--> | |
### 3. | |
<!-- | |
Example: | |
The following exception was thrown: | |
"com.cloudant.sync.documentstore.InvalidDocumentException: Field name start with '_' is not allowed." | |
--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment