chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Kahn (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-572) Can not create a folder using cmislib 0.5dev1
Date Fri, 28 Sep 2012 20:19:08 GMT
Benjamin Kahn created CMIS-572:
----------------------------------

             Summary: 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

Mime
View raw message