You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/11/10 23:46:42 UTC

[GitHub] jtmorrisbytes opened a new issue #1157: Creating database or documents with Fauxton UI is not reflected in the HTTP interface and vice versa

jtmorrisbytes opened a new issue #1157: Creating database or documents with Fauxton UI is not reflected in the HTTP interface and vice versa
URL: https://github.com/apache/couchdb-fauxton/issues/1157
 
 
   <!--- Provide a general summary of the issue in the Title above -->
   
   ## Expected Behavior
   <!--- If you're describing a bug, tell us what should happen -->
   <!--- If you're suggesting a change/improvement, tell us how it should work -->
   Creating a database and documents with the Fauxton UI Should be reflected when making HTTP api calls
   ## Current Behavior
   <!--- If describing a bug, tell us what happens instead of the expected behavior -->
   <!--- If suggesting a change/improvement, explain the difference from current behavior -->
   When creating databases or documents, the items in question will appear on Fauxton if created on Fauxton, but not when made through HTTP Requests. likewise, items created using HTTP requests would not appear on the Fauxton UI. when said items are created from each end, even documents with the same _id string are allowed to exist, even though their contents are completely different
   
   however, I noticed while opening a document on the fauxton ui, with the path `http://127.0.0.1:5984/_utils/#database/<database_name>/<document_name>` the web console said that
   [fauxton refused to create a worker from blob](https://github.com/apache/couchdb-fauxton/files/2568889/fauxton-1541892270119.log).
   
   ## Possible Solutions
   <!--- Not obligatory, but suggest a fix/reason for the bug, -->
   <!--- or ideas how to implement the addition or change -->
   I Have tried the following:
   1. ensuring that I have the latest version of couchdb.
   2. restarting the daemon using systemctl.
   ## Steps to Reproduce (for bugs)
   <!--- Provide a link to a live example, or an unambiguous set of steps to -->
   <!--- reproduce this bug. Include code to reproduce, if relevant -->
   1. follow the normal workflow to create a database or document in Fauxton.
   2. make an HTTP api call to the server requesting information on the database
   3. no object was found
   4. create the a item with the same name/ID but different content and send it over the HTTP API
   5. no errors returned, document/database created successfully.
   6. check Fauxton for changes, no new or updated documents or databases
   
   ## Context
   <!--- How has this issue affected you? What are you trying to accomplish? -->
   <!--- Providing context helps us come up with a solution that is most useful in the real world -->
   I was attempting to explore the basic Fauxton UI and make get/put requests as an adminisrator. the tests were run using postman and authentication was handled using basic auth. I was using custom _id strings but included no special characters
   ## Your Environment
   <!--- Include as many relevant details about the environment you experienced the bug in -->
   * Version used: 2.2.0
   * Browser Name and version: chrome 70.0.3538.77 
   * Operating System and version (desktop or mobile): ubuntu 18.04
   * Link to your project:
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services