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

cmislib 0.5.1 unit test fails against Alfresco 4.2.d because of empty repository name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • cmislib 0.5.1
    • None
    • python-cmislib
    • None
    • cmislib 0.5.1 against Alfresco Community 4.2.d (productVersion = 4.2.0 (r54676-b4795)) using the new CMIS version specific URLs

    Description

      This unit test is failing because starting with Alfresco 4.2.d the repository name is empty and the code expects a value there.

      Traceback (most recent call last):
      File "cmislibtest.py", line 99, in testGetRepository
      defaultRepoName = repo.getRepositoryName()
      File "build/bdist.macosx-10.7-x86_64/egg/cmislib/model.py", line 567, in getRepositoryName
      self._repositoryName = self.xmlDoc.getElementsByTagNameNS(CMIS_NS, 'repositoryName')[0].firstChild.data
      AttributeError: 'NoneType' object has no attribute 'data'

      Should fix this and check for other places where a similar change might break the client.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jpotts Jeffrey Taylor Potts
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: