Actions
Defect #14674
closedIssuePriority expects database counters to be pristine
Status:
Closed
Priority:
Low
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Wont fix
Affected version:
Description
IssuePriority expects implicitly that the autoincrement counter on the Enumerations-table begins at 0, something
which might not be case when migrating a Redmine installation from one machine to another one.
The result is that all issues are marked graphically as high-priority issues if the counter is off by one or two - or not marked at
all of the counter is off by more than that.
The attached patch changes the IssuePriority to rely on internal position rather than id for selecting proper CSS-classes which
resolves the issue.
Files
Related issues
Actions