[ 
https://issues.apache.org/jira/browse/ISIS-1715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16166682#comment-16166682
 ] 

ASF subversion and git services commented on ISIS-1715:
-------------------------------------------------------

Commit 1b60ce18f28e7369364e5712c546f6da32099c6a in isis's branch 
refs/heads/master from [~hobrom]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=1b60ce1 ]

Fix ISIS-1715 menuOrder Dewey Decimal format not honored

> Service priority as defined by @DomainServiceLayout#menuOrder or 
> @DomainService#menuOrder not honored.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-1715
>                 URL: https://issues.apache.org/jira/browse/ISIS-1715
>             Project: Isis
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.15.0
>            Reporter: Andi Huber
>             Fix For: 1.15.1
>
>
> It seems menu contributing service's will not always produce submenus ordered 
> correctly:
> I found a case, where menuOrder was not honored while 2 menu-services were 
> both contributing to the same menu. The member sequence for each group was 
> correct, but the order of the groups was wrong.
> {code:java}
> @DomainService(nature = NatureOfService.VIEW_MENU_ONLY)
> @DomainServiceLayout(named="TODO", menuOrder="30.2")
> public class A {
>     @Action
>     @MemberOrder(sequence = "1.1")
>     public void getAProperty() {
>         
>     }
> }
> @DomainService(nature=NatureOfService.VIEW_MENU_ONLY)
> @DomainServiceLayout(named="TODO", menuOrder="30.1")
> public class B {
>     @Action
>     @MemberOrder(sequence = "1.1")
>     public void getBProperty() {
>         
>     }
> }
> {code}
> Menu group B should be positioned above group A, but it sometimes is not.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to