[
https://issues.apache.org/jira/browse/CAUSEWAY-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17744484#comment-17744484
]
Daniel Keir Haywood commented on CAUSEWAY-3531:
-----------------------------------------------
This seems to be because none of the checks in
{{org.apache.causeway.core.metamodel.specloader.specimpl._SpecPredicates#isMixedInAssociation}}
say otherwise.
Compare with v1 equivalent code, where there was a check for
`NonContributedFacet` (in v2, itself renamed to `ContributingFacet`):
!image-2023-07-19-09-41-49-456.png|width=888,height=379!
> [Metamodel] Corner Case: Mixedin Action picked up as Association
> ----------------------------------------------------------------
>
> Key: CAUSEWAY-3531
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3531
> Project: Causeway
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.0-RC2
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-RC3
>
> Attachments: image-2023-07-19-09-41-49-456.png
>
>
> to reproduce use snipped
> {code:java}
> @Action(SAFE)
> @RequiredArgsConstructor
> public class Invoice_download {
> private final Invoice invoice;
> public Blob act() {
> ...
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)