You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2017/12/22 14:37:00 UTC
[jira] [Assigned] (ISIS-1785) DomainService#menuOrder and
DomainServiceLayout#menuOrder are not equivalent
[ https://issues.apache.org/jira/browse/ISIS-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Haywood reassigned ISIS-1785:
---------------------------------
Assignee: Dan Haywood
> DomainService#menuOrder and DomainServiceLayout#menuOrder are not equivalent
> ----------------------------------------------------------------------------
>
> Key: ISIS-1785
> URL: https://issues.apache.org/jira/browse/ISIS-1785
> Project: Isis
> Issue Type: Bug
> Reporter: Rosco Kalis
> Assignee: Dan Haywood
> Fix For: 1.16.0
>
>
> The Apache Isis documentation mentions that these two options are equivalent:
> {code}
> * <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>
> {code}
> 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|https://github.com/incodehq/ecpcrm/tree/711461c7224ee3e564fb8e6709d34673fb62938d], after which we changed to DomainServiceLayout#menuOrder in the next [commit|https://github.com/incodehq/ecpcrm/tree/154cc56607342870aad1832371e58c1b10eece25]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)