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)

Reply via email to