Closed (fixed)
Project:
OG Panels
Version:
6.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
19 Aug 2009 at 01:19 UTC
Updated:
6 Sep 2009 at 21:51 UTC
Currently the master node context goes missing. Must-fix for g.d.o and 2.0 release, for great justice.
Comments
Comment #1
adam_b commentedBy "master node context" do you mean sidebars? If so, subscribing ;)
Comment #2
markus_petrux commentedI would be glad to help, but I would appreciate clarification in #566882: New Code but DEV Version not updated.
Comment #3
joshk commentedRecent commits get this most of the way there. However, we are still missing the $context->identifier which breaks a lot of things. For now, I'm hard-coding one in so that we can use views arguments correctly, but I need to get some knowledge from merlinofchaos in order to fix it.
Basically, the issue is that when we run our og_panels_load_display() function, we explicitly declare the contexts like so:
It could be that I'm just not grokking the internals of context.inc, but this has always been a bit of a kludge. Maybe it's ok to hard-code an identifier here, or maybe the whole system needs to be more elegant (e.g. some clever use of args in our page_delagator task). Will talk to merlin and get his opinion.
Comment #4
joshk commentedEarl blesses this, and panels_node.module shows the way!