[ http://jira.nuxeo.org/browse/NXP-396?page=all ]
Bogdan Stefanescu resolved NXP-396.
-----------------------------------
Resolution: Fixed
positiveInteger was not mapped from xsd
added mapping to Long
Anyway constraints are not yet implemented
so the positive integer will not be constrained to a positive value
> Integer properties are not correctly initialized
> ------------------------------------------------
>
> Key: NXP-396
> URL: http://jira.nuxeo.org/browse/NXP-396
> Project: Nuxeo Enterprise Platform 5
> Issue Type: Bug
> Security Level: External(All people)
> Reporter: Anahide Tchertchian
> Assigned To: Bogdan Stefanescu
> Priority: Major
>
> When defining a xs:positiveInteger property that is not required, it is set
> to null at creation time, so the property is not created in the jcr and is
> not found when editing the document => traceback:
> Caused by: org.nuxeo.ecm.core.model.NoSuchPropertyException: The property at
> 'nombre' doesn't exists
> at
> org.nuxeo.ecm.core.jcr.properties.PropertyFactory.getProperty(PropertyFactory.java:78)
> at
> org.nuxeo.ecm.core.jcr.JCRDocument.getProperty(JCRDocument.java:571)
> at
> org.nuxeo.ecm.core.jcr.JCRDocument.setPropertyValue(JCRDocument.java:582)
> at
> org.nuxeo.ecm.core.api.AbstractSession.writeModel(AbstractSession.java:263)
> at
> org.nuxeo.ecm.core.api.AbstractSession.saveDocument(AbstractSession.java:1054)
> ... 184 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets