[#32103] Can't create a menu item from view metadata.xml. Fix #2080