moqui-framework icon indicating copy to clipboard operation
moqui-framework copied to clipboard

getMenuData() did not return the correct menu name

Open cyp19901124 opened this issue 4 years ago • 0 comments

I added some menus to the subscreen_item table. like this: image

It can be displayed normally on the interface, but the name changes after clicking. This is when the menu is not clicked, like this: image

Note the menu example 1: image

The menu name changed after clicking, I read the code carefully and found that the problem should appear here. image

My modification suggestions: String lastTitle = fullUrlInfo.targetScreen.getDefaultMenuName() Change to String lastTitle = curScreen.getSubscreensItem(lastPathItem).menuTitle?:fullUrlInfo.targetScreen.getDefaultMenuName()

cyp19901124 avatar Nov 15 '21 06:11 cyp19901124