Patch #16002

Assigned-to-my-group css corrupts user.groups association cache

Added by Massimo Rossello almost 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:
Priority:HighDue date:
Assignee:-% Done:

0%

Category:Groups
Target version:-

Description

r12006 made for issue #12681 generated a corruption in association caches for using an assignment '=' instead of equality '=='.

Therefore

User.current.groups.map(&:id)

then returns an array of nils (most probably).

Attached the patch.

Regards,
Massimo

assigned-to-my-group-css.patch Magnifier (517 Bytes) Massimo Rossello, 2014-01-30 19:15


Related issues

Duplicated by Redmine - Defect #16038: Issue#css_classes corrupts user.groups association cache Closed

History

#1 Updated by Massimo Rossello almost 4 years ago

  • Status changed from New to Resolved

Solved in r12844.
Related to hidden issue (private?) #16038

#2 Updated by Jean-Philippe Lang almost 4 years ago

  • Duplicated by Defect #16038: Issue#css_classes corrupts user.groups association cache added

#3 Updated by Toshi MARUYAMA almost 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF