Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The Apache Isis documentation mentions that these two options are equivalent:
* <p> * Either this attribute or {@link DomainServiceLayout#menuOrder()} can be used; they are equivalent. * Typically this attribute is used for services with a {@link #nature() nature} of * {@link NatureOfService#DOMAIN domain} (these are not visible in the UI) whereas * {@link DomainServiceLayout#menuOrder()} is used for services with a nature of * {@link NatureOfService#VIEW_MENU_ONLY} (which do appear in the UI) * </p>
However, using DomainService#menuOrder on NatureOfService#VIEW_MENU_ONLY services did not appear to work correctly. DomainServiceLayout#menuOrder does appear to be working.
Our application was using DomainService#menuOrder in this commit, after which we changed to DomainServiceLayout#menuOrder in the next commit