[
https://issues.apache.org/jira/browse/CMIS-572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeff Potts resolved CMIS-572.
-----------------------------
Resolution: Fixed
I reverted the cmisra:content element change for content-less objects for now
until I understand what is required for spec compliance.
> Can not create a folder using cmislib 0.5dev1
> ---------------------------------------------
>
> Key: CMIS-572
> URL: https://issues.apache.org/jira/browse/CMIS-572
> Project: Chemistry
> Issue Type: Bug
> Components: python-cmislib
> Affects Versions: cmislib 0.5
> Reporter: Benjamin Kahn
>
> >>> folder = parent.createFolder(testfolderbasename)
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File
> "/usr/lib/python2.7/site-packages/cmislib-0.5.1dev-py2.7.egg/cmislib/model.py",
> line 2735, in createFolder
> ATOM_XML_ENTRY_TYPE)
> File
> "/usr/lib/python2.7/site-packages/cmislib-0.5.1dev-py2.7.egg/cmislib/model.py",
> line 273, in post
> self._processCommonErrors(result)
> File
> "/usr/lib/python2.7/site-packages/cmislib-0.5.1dev-py2.7.egg/cmislib/model.py",
> line 321, in _processCommonErrors
> raise InvalidArgumentException(error.status, error.url)
> cmislib.exceptions.InvalidArgumentException: Error 400 at
> http://localhost:8080/alfresco/s/cmis/s/workspace:SpacesStore/i/270cd47b-552a-44b3-b222-98d379e89013/children
> The issue is whether a content-less object should have no cmisra:content
> element or an empty cmisra:content element.
> Alfresco 3.4 assumes it will have NO cmisra:content element.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira