Mercurial > p > roundup > code
diff CHANGES.txt @ 6430:ff4ab763f47c
issue2551141 - roundup-admin returns no such class when restoring item with duplicate key
Fix the error by splitting the class name lookup and the restore
opertation. Both can return KeyErrors. Set up two different try
blocks for each case. Also test restore/retire.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 05 Jun 2021 23:43:42 -0400 |
| parents | 32a04dc87b30 |
| children | ada1edcc9132 |
line wrap: on
line diff
--- a/CHANGES.txt Fri Jun 04 22:58:22 2021 -0400 +++ b/CHANGES.txt Sat Jun 05 23:43:42 2021 -0400 @@ -127,6 +127,10 @@ find(). (John Rouillard) - Fix traceback caused by calling history() with arguments in a non-item context. +- issue2551141 - roudup-admin returns no such class when restoring + item with duplicate key. Fix incorrect error message when using + roundup-admin to restore a user when the username is aleady in use. + (John Rouillard) Features: - issue2550522 - Add 'filter' command to command-line
