Active
Project:
Hansel breadcrumbs
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2011 at 07:32 UTC
Updated:
5 Dec 2012 at 18:27 UTC
Jump to comment: Most recent file
Comments
Comment #1
theullrich commentedHaving the same problem.
Comment #2
theullrich commentedStill having trouble. Any updates on this problem?
Comment #3
bluestarstudios commentedHas anybody found a solution to this? I can't get it to work either...
Comment #4
theullrich commentedIntresting thing is the people over at Registration code seem to be having the same problem
https://drupal.org/project/regcode
However they have a patch.
https://drupal.org/node/1214458
I haven't tried it but i think it was the same problem that needs to be fixed after a change in the structure of Organic Groups.
Comment #5
bluestarstudios commentedOoh. That's a start. I wish I knew how to create patches and what not. But lets see. Maybe i can figure out later on what they're doing in there...
Comment #6
jakonore commentedI change the priority of the issue to critical since it prevent anyone to use the OG integration. Just tried on a clean install with all latest code and there is no change.
Comment #7
scoff commentedIt's not a proper patch, but it gets me a working hansel_og. There's no bundle type checking, but form options are there (showing content types that are group types).
I'm not sure that calling entity_uri() is the optimal way to get a group's node path in terms of performance. Maybe it's better to get an URL from what's available in og_context() return value (entity type, node id and group label are there).
Anyway, checking for content type is going to be expensive since there's no such information in context/group object. I'd turn it off, because op path often set inside "switch node type" rule.
Also there's a new dependency for hansel_og — og_context, which is now an add-on to og core.
Comment #8
liberatrThis patch worked for me.
Comment #9
aaki commentedSince I couldn't find
og_get_group_context()which is used to determine the group context in hansel_og-7.x-1.x-dev neither in og 7.x-1.x nor in 7.x-2.x I changed the affected version to 7.x-1.x-dev.The patch from #7 does not work with og-7.x-2.x, but there is a issue and a patch, that should be tested that works at least in my environment.