[
https://jira.nuxeo.com/browse/CMIS-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florent Guillaume resolved CMIS-25.
-----------------------------------
Resolution: Fixed
Was fixed when the cmis:name mapping changed from short-name to title.
> Internal Server Error thrown when updating properties and not setting
> cmis:name property
> ----------------------------------------------------------------------------------------
>
> Key: CMIS-25
> URL: https://jira.nuxeo.com/browse/CMIS-25
> Project: Nuxeo Chemistry
> Issue Type: Bug
> Affects Versions: chemistry-nuxeo-5.3.2
> Environment: Nuxeo 5.3.2
> Reporter: José M. Palomar
> Assignee: Florent Guillaume
> Priority: Major
> Fix For: opencmis-0.1.0
>
>
> When trying to update Document properties using Chemistry client API
> CmisRuntimeException is thrown if cmis:name property is not set. Server
> responds with HTTP error 500.
> INFO
> [org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter] A
> ResponseException was thrown.
> org.apache.abdera.protocol.server.context.ResponseContextException
> at
> org.apache.chemistry.atompub.server.CMISObjectsCollection.putEntry(CMISObjectsCollection.java:621)
> at
> org.apache.chemistry.atompub.server.jaxrs.AbderaResource.putAbderaEntry(AbderaResource.java:228)
> at
> org.apache.chemistry.atompub.server.jaxrs.AbderaResource.doPutObject(AbderaResource.java:355)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ...
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.IllegalArgumentException: Illegal empty name
> at
> org.nuxeo.ecm.core.chemistry.impl.NuxeoProperty$NameProperty.setValue(NuxeoProperty.java:435)
> at
> org.nuxeo.ecm.core.chemistry.impl.NuxeoObjectEntry.setValue(NuxeoObjectEntry.java:106)
> at
> org.nuxeo.ecm.core.chemistry.impl.NuxeoConnection.updateProperties(NuxeoConnection.java:710)
> at
> org.nuxeo.ecm.core.chemistry.impl.NuxeoConnection.updateProperties(NuxeoConnection.java:673)
> at
> org.apache.chemistry.atompub.server.CMISObjectsCollection.putEntry(CMISObjectsCollection.java:592)
> ... 51 more
> This exception is thrown because cmis:name property is not set. When setting
> property update works nicely.
--
This message is automatically generated by JIRA.
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