Actions
Patch #18290
closedIssue performance patch
Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Description
Issue safe_attribute 'is_private' cause a author loading if not necessary in some situations, and status_id_was is same as status_id, and it is not preventing loading if not changed.
Please accept, I hate patch all method, cuz one line change :(
Files
Related issues
Updated by Mischa The Evil over 11 years ago
- Category set to Code cleanup/refactoring
Updated by Jean-Philippe Lang over 11 years ago
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Target version set to 3.0.0
The author load fix is committed in r13576.
The second part is not OK and breaks a bunch of tests because #status_was would return nil if status was not changed, where it should return the current status. Fixed in r13577.
The last part is no longer in sync with trunk.
Thanks for your submission.
Updated by Go MAEDA over 10 years ago
- Has duplicate Patch #17880: Performance issues on Issue model added
Actions