Issues with project and menu_breadcrumb integration.
mrfelton - May 5, 2009 - 22:14
| Project: | Menu Breadcrumb |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
As soon as I enable the menu_breadcrumb module, project.module breaks - I can create new project nodes fine, but when I try to edit an existing one, all the fields that come from project.module are blank.
This seems to be similar in nature to the issue being discussed at #376377: Issue + organic group incompatibility in that project_project_load fails to load, and so $node->project is empty making editing project nodes impossible.

#1
A little update on this: the problem is that menu_breadcrumb calls menu_get_item() in hook_init(). This is the same issue that was reported in some detail against the globalredirect module here #342131: Use of hook_init() causes problems for modules with autoloading URL arguments. Since this is a problem of menu_breadcrumb, I'm moving this issue over to the menu_breadcrumb issue queue.
#2
I have the same problem forcing me to disable menu_breadcrumb module on all my sites which uses project module. Hope this will be simple to fix because I found this module very useful.
Tnx
#3
This module causes the same problem with OG Forum and I assume any other module that uses _load functions to autoload URL arguments. Can menu_get_item() be moved outside of hook_init() so that it doesn't break other modules? As mentioned in the issues linked above, this is why menu_get_item() is not used in any core modules until after all bootstrap functions have had a chance to complete.
#4
Yes, issue with OG Forum