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

Cannot checkout a document

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • cmislib 0.5.1
    • cmislib 0.6.0
    • python-cmislib
    • Python 2.7.6
      Alfresco 4.2.d on Ubuntu Linux Server 12.04
      Client running cmislib Ubuntu Linux Desktop 12.04

    Description

      Using cmislib I cannot checkout any documents (both simple and versionable). Here the code I'm using:

      obj = self._repo.getObject(objectId)
      pwc = obj.checkout()

      in the model.py file I'm receiving this error:

      HTTPError: HTTP Error 400: Bad Request

      and then:

      InvalidArgumentException: Error 400 at http://teamtest:8080/alfresco/cmisatom/000fb4b4-d4b6-4ef7-a049-67939b9d70c8/checkedout

      during:
      result = self._cmisClient.post(checkoutUrl.encode('utf-8'),
      entryXmlDoc.toxml(encoding='utf-8'),
      ATOM_XML_ENTRY_TYPE)

      I verified that canCheckOut is in the allowable actions for the document.
      I also verified that the obj can be fetch correctly from the repository.

      Something I'm doing wrong?
      Thank in advance for your support.

      Attachments

        1. checkout-patch.diff
          0.5 kB
          Jeffrey Taylor Potts

        Activity

          People

            jpotts Jeffrey Taylor Potts
            impiastro Roberto Rossi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: