When creating a menu, a menu link is created without specifying the menu name.
The menu_link_save() function sets the "Navigation menu" as default if a menu name is not passed to the item to be saved.
The d8cache module implements menu_link_alter() and it looks for an index menu_name in the menu item. menu_link_save() sets the default menu name after the alteration, so a warning is raised.

CommentFileSizeAuthor
#2 d8cache-menu_name_not_set-3038626-2.patch580 bytespeximo

Comments

peximo created an issue. See original summary.

peximo’s picture

StatusFileSize
new580 bytes

Attached patch should fix the warning.

fabianx’s picture

Status: Active » Reviewed & tested by the community

RTBC - nice work

i-trokhanenko’s picture

Status: Reviewed & tested by the community » Needs work

Patch # 2 does not solve the issue, I get the same warning.