Actions
Patch #40194
closedFix error in clear_disabled_fields method when IssuePriority is missing
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Hello
The clear_disabled_fields method in the Redmine codebase raises a NoMethodError exception when called,
and the IssuePriority model is missing. This occurs due to an attempt to access the id attribute of IssuePriority without verifying its presence. The proposed fix ensures that the method gracefully handles the case where IssuePriority is missing by checking for its presence before accessing its attributes.
I propose this patch
Files
Related issues
Actions