Patch attached.

CommentFileSizeAuthor
#1 og-context-static-cache.patch991 bytesamitaibu
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

amitaibu’s picture

FileSize
991 bytes
amitaibu’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

agentrickard’s picture

Issue summary: View changes
Status: Closed (fixed) » Active

This seems to have unintended issues for some modules. I see cases where og_context() returns empty, gets cached, and breaks expectations.

Specifically #2147409: Interaction with Context OG, but I don't see an obvious solution.

Perhaps the removal of anonymous sessions is part of the problem?

amitaibu’s picture

Maybe what I suggest here, about being able to not call og_context() on init would help you?

agentrickard’s picture

Status: Active » Fixed

Maybe. I was hoping to stay out of that issue. Thanks.

amitaibu’s picture

> I was hoping to stay out of that issue.

Me as-well ;)

agentrickard’s picture

That issue does not fix my problem, which I am starting to think is Panels related.

amitaibu’s picture

@agentrickard
It's Drupal bureaucracy at its best -- sending you from one module to another ;)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.