Description
When using cbdocloader and loading files from disk, the documents are loaded, but the design docs are not, and are silently skipped. Loading from a zip file works as expected.
To reproduce:
- Unzip beer-sample.zip into a directory
- Use cbdocloader to load the documents from the file system
- Note that there are no views created
./cbdocloader -n localhost:8091 -u Administrator -p password -b mybeer /Users/CBUser/Files/beer-sample/
Attachments
For Gerrit Dashboard: MB-20047 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
65949,1 | MB-20047: Load design docs from sample data when not zipped | master | couchbase-cli | Status: ABANDONED | 0 | 0 |
65950,2 | MB-20047: Load design docs from sample data when not zipped | 4.1.1 | couchbase-cli | Status: MERGED | +2 | +1 |
66431,2 | MB-20047: Make sure trailing slashes are removed from the json path | 4.1.1 | couchbase-cli | Status: MERGED | +2 | +1 |