Needs review
Project:
Context
Version:
7.x-3.12
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
4 Jul 2021 at 11:06 UTC
Updated:
26 May 2025 at 08:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedcmseasy created an issue. See original summary.
Comment #2
Anonymous (not verified) commentedI have this problem after updating to 7.x-3.12, I moved back to 7.x-3.11.
Changed issue version to latest 7.x-3.12 and priority to critical.
Comment #3
dsdeiz commentedYeah, experienced the same as well. For my case, it was because of the language. I wonder if it's a similar case.
Context condition for user was expecting the translated role names for "anonymous" and "authenticated" while context list only had untranslated role names.
I've attached the patch if that helps.
Comment #4
Anonymous (not verified) commentedI have a Dutch language site.
The patch did work for custum roles.
Not for anonymous (anonieme gebruiker) and authenticated (geverifieerde gebruiker).
Comment #5
dsdeiz commentedYeah, seems to work for my case. I tested with Dutch. You can try debugging using this:
Comment #6
ron collins commentedContext was failing for anonymous users on the French pages after updating 3.11 to 3.12.
Patch #3 worked for me. Thanks.
Seems like an easy one to get rolled in for next release.
Comment #7
danyg commentedIt's a simple and super solution for the issue, thanks. I can confirm the patch works when you translated the authenticated and/or anonymous role's name. Changed to RTBC
Comment #8
santiwww commentedSometimes (depending on when and how drupal 7 was installed, p.e. after a migration from d6) the names in the roles table are already translated, and because of that the patch #3 does not work.
That's the case in some of my sites sites which were built in spanish in d6 and migrated to d7.
I have created a new patch to force the name in english for authenticated and anonymous roles.
I changed the status to needs review.