apache / couchdb-fauxton

Fauxton is the new Web UI for CouchDB
https://github.com/apache/couchdb-fauxton
Apache License 2.0
377 stars 225 forks source link

Creating a new replication job with custom ID shows a non existing conflict #981

Open calonso opened 7 years ago

calonso commented 7 years ago

Expected Behavior

  1. Login into Fauxton
  2. Open the Replication section
  3. Click New Replication
  4. Fill in the data and write a custom ID for the Replication Document field (make sure it doesn't exist yet)
  5. Click Start Replication
  6. You're asked for your account's password
  7. The replication job starts

Current Behavior

  1. Login into Fauxton
  2. Open the Replication section
  3. Click New Replication
  4. Fill in the data and write a custom ID for the Replication Document field (make sure it doesn't exist yet)
  5. Click Start Replication
  6. An error box appears claiming that the custom id you just entered already exists and the document will be overwritten.
  7. You accept the document to be overwritten
  8. You're asked for your account's password
  9. The replication job starts

Your Environment

linkit-odoo commented 6 years ago

I verify this behaviour in 2.1.1 (apache/couchdb docker image) Further, if you do not specify a custom ID, you will not incur in the aforementioned message, but your replication document will overwrite the existing one.