diff CHANGES.txt @ 7665:6f841a55eabf

fix: database error handling during import of a non-user item The code to handle the case of retired and active users causing errors during import can get called on other db errors as well (e.g. out of memory in postgresql). The code that trys to detect/repair the out of order user case hard coded the db.user class. This crashed when a db error occurred when loading another data object (e.g. msg). Fix the crash by using the proper db object class for the object class being loaded. Credit to Norbert Schlemmer for finding this.
author John Rouillard <rouilj@ieee.org>
date Wed, 18 Oct 2023 15:49:53 -0400
parents 5fdec4ad53ed
children 5b41018617f2
line wrap: on
line diff
--- a/CHANGES.txt	Wed Oct 18 12:34:23 2023 -0400
+++ b/CHANGES.txt	Wed Oct 18 15:49:53 2023 -0400
@@ -56,6 +56,9 @@
   Rouillard from issue on mailing list by Chuck Cunningham)
 - make roundup-server exit more quickly on ^C. This seems to be
   limited to windows. (John Rouillard)
+- Fix error handling so failure during import of a non-user item
+  doesn't cause a second traceback. (Found by Norbert Schlemmer, fix
+  John Rouillard)
 
 Features:
 

Roundup Issue Tracker: http://roundup-tracker.org/