You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2021/04/09 19:23:01 UTC

[jira] [Commented] (ISIS-2493) Actions with same name but different signature potentially share the same metamodel member id.

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

Daniel Keir Haywood commented on ISIS-2493:
-------------------------------------------

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)