[ 
https://issues.apache.org/jira/browse/CAUSEWAY-3454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andi Huber updated CAUSEWAY-3454:
---------------------------------
    Description: 
We have 3 categories of members (act/prop/coll), within those categories 
member-ids must be unique (including mixed-in members).

However, it is not required for member-ids to be unique among all members 
(across all categories). Apparently somewhere during domain introspection this 
assumption is made, resulting in potentially missing members.

We have prepared a test scenario, that surfaces the issue

{code:java}
org.apache.causeway.testdomain.model.bad.InvalidMemberIdClash
{code}

* expected: 18 members (where 3 are invalid due to member-id clashes); 
* got: 11 members

  was:
We have 3 categories of members (act/prop/coll), within those categories 
member-ids must be unique (including mixed-in members).

However, it is not required for member-ids to be unique among all members 
(across all categories). However, somewhere during domain introspection this 
assumption is made, resulting in potentially missing members.

We have prepared a test scenario, that surfaces the issue

{code:java}
org.apache.causeway.testdomain.model.bad.InvalidMemberIdClash
{code}

* expected: 18 members (where 3 are invalid due to member-id clashes); 
* got: 11 members


> [Metamodel] Members not added to the MM when sharing member-id with 
> previously added members.
> ---------------------------------------------------------------------------------------------
>
>                 Key: CAUSEWAY-3454
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3454
>             Project: Causeway
>          Issue Type: Bug
>          Components: Core
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-RC2
>
>
> We have 3 categories of members (act/prop/coll), within those categories 
> member-ids must be unique (including mixed-in members).
> However, it is not required for member-ids to be unique among all members 
> (across all categories). Apparently somewhere during domain introspection 
> this assumption is made, resulting in potentially missing members.
> We have prepared a test scenario, that surfaces the issue
> {code:java}
> org.apache.causeway.testdomain.model.bad.InvalidMemberIdClash
> {code}
> * expected: 18 members (where 3 are invalid due to member-id clashes); 
> * got: 11 members



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to