AnsweredAssumed Answered

moving folder

Question asked by mohamed.moussa on Mar 15, 2016
Latest reply on Mar 30, 2016 by jpotts
hello
when i try to move a folder to another from odoo to alfresco i am using cmislib i have this bug :
i am using cmis:parentId
parentFolder = 'workspace://SpacesStore/945c820a-8fce-453b-98c4-521ba2df91d6'
Folder.updateProperties({u'cmis:parentId':parentFolder,})

File "/usr/local/lib/python2.7/dist-packages/cmislib-0.5.1-py2.7.egg/cmislib/model.py", line 1952, in updateProperties
    **args)
  File "/usr/local/lib/python2.7/dist-packages/cmislib-0.5.1-py2.7.egg/cmislib/model.py", line 297, in put
    self._processCommonErrors(result)
  File "/usr/local/lib/python2.7/dist-packages/cmislib-0.5.1-py2.7.egg/cmislib/model.py", line 318, in _processCommonErrors
    raise InvalidArgumentException(error.status, error.url)
InvalidArgumentException: Error 400 at http://192.168.1.8:8080/alfresco/cmisatom/96d978c6-e387-4b95-a74d-1e5d6fc5fa22/entry?id=workspace%3A%2F%2FSpacesStore%2F945c820a-8fce-453b-98c4-521ba2df91d6*

any help please

Outcomes