You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug happens when context variable (route_args) is first used in cache_key (and not anywhere else in template). I have similar logic using in <%page> directive and it works just fine there.
The text was updated successfully, but these errors were encountered:
Migrated issue, originally created by Michael Bayer (@zzzeek)
Unfortunately there is another one. That one is related to <%block> tag (both anonymous and named).
FAILS: <%block cached="True" cache_key="${route_args.locale}">
WORKAROUND: <%block cached="True" cache_key="${context.get('route_args').locale}">
The bug happens when context variable (route_args) is first used in cache_key (and not anywhere else in template). I have similar logic using in <%page> directive and it works just fine there.
The text was updated successfully, but these errors were encountered: