Switch out FILE_ALREADY_EXISTS for DUPLICATE_ITEM.
Review Request #8137 — Created April 30, 2016 and submitted — Latest diff uploaded
The original image dnd branch included a new API error for when a file
attachment was a duplicate, but we now have a generic error in djblets for
cases like this. This change swaps out the new error for the existing one.
Ran unit tests.
docs/manual/webapi/2.0/errors/232-file-already-exists.rst |
---|
docs/manual/webapi/2.0/errors/index.rst |
---|
reviewboard/webapi/errors.py |
---|
reviewboard/webapi/resources/user_file_attachment.py |
---|
reviewboard/webapi/tests/test_user_file_attachment.py |
---|