Vote #75725
完了Issue performance patch
0%
説明
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 :(
journals
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
duplicates,Closed,17880,Performance issues on Issue model
Admin Redmine さんが約4年前に更新
- カテゴリ を Code cleanup/refactoring_30 にセット
- 対象バージョン を 3.0.0_80 にセット