I know this is by design, but it is causing problems for my use case. Would it perhaps be possible to instead exclude system menu items, because I guess that is the real reason behind the check? Here is a patch to make the change.

Comments

gnucifer created an issue. See original summary.

gnucifer’s picture

gnucifer’s picture

Status: Active » Needs review
gnucifer’s picture

Re-rolled against current HEAD.

vj’s picture

@gnucifer

Patch works for me. But do we need all system menu items to deploy? I think it will be great if we can add vid based on "menu name" like navigation menu we don't want to push, generally we use main menu & user menu only. So only these modules should have vid assigned. Please share your thoughts. Let me know if any help required to re-roll the patch.

vj’s picture

Status: Needs review » Needs work

@gnucifer

Also this patch doesn't work if module already installed. We have to add this code snippet in update hook.

dineshw’s picture

Hi Vj / gnucifer: I believe its fine to make menus deployable, as far as it carry configuration parameters like weight , menu title, menu attribute if any.

Patch should consider update hook if it needs to work for existing menu items as well.

damienmckenna’s picture

Assigned: gnucifer » Unassigned