[
https://issues.apache.org/jira/browse/CAUSEWAY-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17764466#comment-17764466
]
Andi Huber commented on CAUSEWAY-3571:
--------------------------------------
see also discussion at
https://the-asf.slack.com/archives/CFC42LWBV/p1693215922544849
> Supporting methods being declared as orphaned when not (mixin with
> inheritance).
> --------------------------------------------------------------------------------
>
> Key: CAUSEWAY-3571
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3571
> Project: Causeway
> Issue Type: Bug
> Components: Core
> Reporter: Daniel Keir Haywood
> Assignee: Andi Huber
> Priority: Minor
> Fix For: 2.0.0-RC3
>
> Attachments: image-2023-09-12-12-11-42-553.png,
> image-2023-09-12-12-12-18-332.png, image-2023-09-12-12-13-26-793.png
>
>
> this has been introduced somewhere between 20230826 and 20230912.
> for example:
> !image-2023-09-12-12-11-42-553.png!
> and
> !image-2023-09-12-12-12-18-332.png!
> resulting in validation errors:
>
> // [1]
> org.estatio.module.asset.dom.classification.ClassificationForProperty._classify#choices0Act():
> is public, but orphaned (was not picked up by the framework); reporting
> orphans, because the class is setup for member introspection, without
> enforcing annotations
> // [2]
> org.estatio.module.asset.dom.classification.ClassificationForProperty._classify#default1Act(org.incode.module.classification.dom.impl.category.taxonomy.Taxonomy):
> is public, but orphaned (was not picked up by the framework); reporting
> orphans, because the class is setup for member introspection, without
> enforcing annotations
> // [3]
> org.estatio.module.asset.dom.classification.ClassificationForProperty._classify#choices1Act(org.incode.module.classification.dom.impl.category.taxonomy.Taxonomy):
> is public, but orphaned (was not picked up by the framework); reporting
> orphans, because the class is setup for member introspection, without
> enforcing annotations
> // [4]
> org.estatio.module.asset.dom.classification.ClassificationForProperty._classify#default0Act():
> is public, but orphaned (was not picked up by the framework); reporting
> orphans, because the class is setup for member introspection, without
> enforcing annotations
> // [5] Mixin
> org.estatio.module.asset.dom.classification.ClassificationForProperty$_classify
> could not be identified as action, property or collection.
> the workaround is to add a redundant override:
> !image-2023-09-12-12-13-26-793.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)