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

ASF subversion and git services commented on ISIS-2894:
-------------------------------------------------------

Commit 572e3a8794dfd4c570bfc4b007322bf775d5a810 in isis's branch 
refs/heads/master from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=572e3a8 ]

ISIS-2894: do not install
MaxFractionalDigitsFacetForPersistentBigDecimalWhenUnspecified

- as we don't know how to distinguish persistent vs not-persistent
getters

> Metamodel validation "orphan" errors if implement interface.
> ------------------------------------------------------------
>
>                 Key: ISIS-2894
>                 URL: https://issues.apache.org/jira/browse/ISIS-2894
>             Project: Isis
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M6
>            Reporter: Daniel Keir Haywood
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-M7
>
>
> Given:
> public interface Succeedable<T>
> { T getSuccessor(); void setSuccessor(T successor); }
> when:
> public class BankAccount implements Succeedable<BankAccount>
> {  @Column(allowsNull = "true", name = "successorId") @Property(editing = 
> Editing.DISABLED) @PropertyLayout(hidden = Where.PARENTED_TABLES) @Getter 
> @Setter private BankAccount successor; }
> then get metamodel validation error:
> .BankAccount#getSuccessor(): has annotation @Domain.Include, is assumed to 
> support a property, collection or action. Unmet constraint(s): misspelled 
> prefix or unsupported method signature
> ~~~~
> or:
> org.apache.isis.subdomains.base.applib.Chained
> and
> public class Agreement implements Chained<Agreement>



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to