You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2017/04/30 13:03:04 UTC
[jira] [Created] (ISIS-1609) @Property(editing=ENABLED) not working
for some JAXB view model properties.
Dan Haywood created ISIS-1609:
---------------------------------
Summary: @Property(editing=ENABLED) not working for some JAXB view model properties.
Key: ISIS-1609
URL: https://issues.apache.org/jira/browse/ISIS-1609
Project: Isis
Issue Type: Bug
Components: Core
Affects Versions: 1.14.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
Fix For: 1.15.0
Tracked down the issue to RecreatableObjectFacetForXmlRootElementAnnotation being installed, and then DisabledFacetOn{Property|Collection}DerivedFromRecreatableObject being installed even if the RecreatableObjectFacet sometimes returns null (for JAXB elements, and if implements ViewModelFacet.Cloneable).
Solution: rather than rely on ViewModelFacet#isCloneable(Object), which works at the object level, instead introduce a new ViewModelFacet#inferImmutable(), which acts at the class level, and from this be able to figure out if the DisabledFacet thus installed has inverted semantics.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)