Mercurial > p > roundup > code
view website/issues/html/home.html @ 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 | c2d0d3e9099d |
| children |
line wrap: on
line source
<!-- This is the default body that is displayed when people visit the tracker. The tag below lists the currently open issues. You may replace it with a greeting message, or a different list of issues or whatever. It's a good idea to have the issues on the front page though --> <span tal:replace="structure python:db.issue.renderWith('index', sort=[('-', 'activity')], filter=['status'], columns=['activity','title','creator'], filterspec={'status':['1','2','4']})" />
