Uploaded image for project: 'Chemistry'
  1. Chemistry
  2. CMIS-572

Can not create a folder using cmislib 0.5dev1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • cmislib 0.5
    • None
    • python-cmislib
    • None

    Description

      >>> 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            xkahn Benjamin Kahn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: