Project

General

Profile

Actions

Patch #16002

closed

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

Added by Massimo Rossello almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Groups
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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


Files

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

Related issues

Has duplicate Redmine - Defect #16038: Issue#css_classes corrupts user.groups association cacheClosed

Actions
Actions #1

Updated by Massimo Rossello almost 11 years ago

  • Status changed from New to Resolved

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

Actions #2

Updated by Jean-Philippe Lang almost 11 years ago

  • Has duplicate Defect #16038: Issue#css_classes corrupts user.groups association cache added
Actions #3

Updated by Toshi MARUYAMA over 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF