Roundup Tracker - Issues

Message8231

Author rouilj
Recipients rouilj
Date 2024-12-17.22:07:22
Message-id <1734473242.83.0.476010086557.issue2551383@roundup.psfhosted.org>
In-reply-to
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 _@A.toyoTa 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.
History
Date User Action Args
2024-12-17 22:07:22rouiljsetrecipients: + rouilj
2024-12-17 22:07:22rouiljsetmessageid: <1734473242.83.0.476010086557.issue2551383@roundup.psfhosted.org>
2024-12-17 22:07:22rouiljlinkissue2551383 messages
2024-12-17 22:07:22rouiljcreate