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

Creating database or documents with Fauxton UI is not reflected in the HTTP interface and vice versa #1157

Closed
jtmorrisbytes opened this issue Nov 10, 2018 · 2 comments

Comments

@jtmorrisbytes
Copy link

Expected Behavior

Creating a database and documents with the Fauxton UI Should be reflected when making HTTP api calls

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.

Possible Solutions

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)

  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

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

  • 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:
@popojargo
Copy link
Member

@jtmorrisbytes What were your API calls?

@jtmorrisbytes
Copy link
Author

jtmorrisbytes commented Mar 24, 2019 via email

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