Steps to reproduce the issue:
1. Create menu items using hook_menu()
2. Create menu_export_file.txt add path created in step #1.
3. Try to import menu_export_file.txt
Result:
Menu gets created but path is ''.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | custom_menu_path_import_failing-2581007-2.patch | 1.13 KB | mandarmbhagwat78 |
| #2 | custom_menu_path_import_failing-2581007.patch | 1.06 KB | mandarmbhagwat78 |
Comments
Comment #2
mandarmbhagwat78 commentedI am attaching the solution patch file.
Comment #3
mandarmbhagwat78 commentedAdding updated patch file.
Comment #4
vasi commentedI can confirm this issue.
Comment #5
mandarmbhagwat78 commented@vasi - did you review my patch? Any plan to merge and release it soon as I am using menu import/export module in my build script .make file?
Comment #6
lex0r commented@mandarmbhagwat78, thanks for the patch, however it doesn't seem to be a module issue. If no menu path is available (since no relevat module implementing hook_menu is enabled) it doesn't necessarily mean the link should go to front page by default. Why not enabling the module and re-importing?