Problem/Motivation
Every time I import a new piece of content from GatheContent.com and select a menu item as a parent, the node is being imported, but the menu parent is not.
Steps to reproduce
Import any piece of content and try to generate a menu item, starting with 2nd level.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3210336-4.patch | 2.31 KB | yogeshmpawar |
| #2 | gathercontent-menu-creation.patch | 1.04 KB | optasy |
Issue fork gathercontent-3210336
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
optasy commentedComment #3
yogeshmpawarComment #4
yogeshmpawarHere's the patch which supports single language sites & menu creation for second language of site.
Comment #7
berdirThe proposed fix would then only work for entries that have a provider. I've pushed an alternative and simpler fix that uses the third parameter of explode to make sure we only cut of the menu name.
Comment #9
berdirMerged.