[issue2551383] Setting same address via REST PUT command results in an error, should pass.
John Rouillard <[email protected]> Tue, 17 Dec 2024 22:07:22 +0000
| Newsgroups | gmane.comp.bug-tracking.roundup.devel |
|---|---|
| Message-ID | <[email protected]> |
New submission from John Rouillard: While adding fuzz testing to Roundup, I was testing setting random email addresses via a PUT command for the user's address property. I would get a 409 error when setting the email address to the same value it already had. The error message was correct: '"Email address [email protected] already in use' But this should be a no-op if the user is setting his/her own email. I tracked this down to the userauditor.py. If the email address is in use by the same user who is changing it, don't report a conflict. This lead to changing the docs for the REST interface as the result from the PUT for a property url was not documented properly. The output is more akin to a PUT to the item including only reporting an attribute if it has changed. ---------- assignee: rouilj components: API, Database, Web interface messages: 8231 nosy: rouilj priority: normal severity: normal status: new title: Setting same address via REST PUT command results in an error, should pass. type: behavior _________________________________________________ Roundup tracker <[email protected]> <https://issues.roundup-tracker.org/issue2551383> _________________________________________________