Actions
Patch #23519
closedDon't preload projects and roles on Principal#memberships association
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Why it should preload project and roles by default? it is not used over the redmine much, and somewhare it is not good to preloading those associations.
Files
Updated by Ondřej Ezr over 8 years ago
No reason for preload in membership(...)
Updated by Jean-Philippe Lang almost 8 years ago
- Subject changed from Performance for memberships to Don't preload projects and roles on Principal#memberships association
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
Patch committed, thanks. FTR, the proposed patch was not working as expected and broke a few tests, #roles
has to be called explicitly (using self.roles
) due to a variable naming clash in #allowed_to?
.
Actions