[ https://issues.apache.org/jira/browse/ISIS-2493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17318219#comment-17318219 ]
Daniel Keir Haywood edited comment on ISIS-2493 at 4/9/21, 7:22 PM: -------------------------------------------------------------------- [~hobrom] - I think we should simply not support overloaded methods. My rationale is that having two actions in the UI with the exact same name wouldn't make sense to the end user. Therefore I think we should have a metamodel validator to detect and prevent this. was (Author: danhaywood): I think we should simply not support overloaded methods. My rationale is that having two actions in the UI with the exact same name wouldn't make sense to the end user. Therefore I think we should have a metamodel validator to detect and prevent this. > Actions with same name but different signature potentially share the same > metamodel member id. > ---------------------------------------------------------------------------------------------- > > Key: ISIS-2493 > URL: https://issues.apache.org/jira/browse/ISIS-2493 > Project: Isis > Issue Type: Bug > Reporter: Andi Huber > Assignee: Andi Huber > Priority: Major > Fix For: 2.0.0-M6 > > > When we allow this, then the metamodel needs to be fixed. Not sure about > consequences for the layout model, as actions are referenced by id, which is > just their name. > Otherwise metatmodel validation must fail on action id clashes. -- This message was sent by Atlassian Jira (v8.3.4#803005)