Details
Description
We generate the scaffold for an entity with --includeOnMenu true.
After that, we decide to remove the generated menu, so we go to the bean definition and edit the @RooJsfManagedBean annotation to modify the includeOnMenu attribute. For example:
@RooJsfManagedBean(entity = Ruta.class, beanName = "rutaBean", includeOnMenu = false)
public class RutaBean {
That doesn't remove the 'Ruta' entry from the menu and removing the entity doens't works neither.
But if you create the scaffold with --includeOnMenu false, assigning true on the includeOnMenu annotation attribute later causes the menu to generate the entry.