You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@causeway.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2023/05/05 05:49:00 UTC

[jira] [Created] (CAUSEWAY-3454) [Metamodel] Members not added to the MM when sharing member-id with previously added members.

Andi Huber created CAUSEWAY-3454:
------------------------------------

             Summary: [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
             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). 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



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