Oracle Forms menu item displayed even though it is set to not displayed
We are seeing an issue with our oracle forms product where we are disabling and hiding a menu item programmatically based if the currently queried record meets certain criteria. This doesn't always seem to be working. The menu item is still displayed even though it is explicitly being set to not displayed.
Even we I do a get_menu_item_property(<menu item>,DISPLAYED), it returns FALSE, but yet it is still displayed in the menu.
This was first noticed when testing in our oracle forms version 19c environment, as we are upgrading to that version soon, but it is also happening in our current version 12c (12.2.1.3.0) environment.