You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Jeff Potts (JIRA)" <ji...@apache.org> on 2016/08/30 17:57:20 UTC

[jira] [Assigned] (CMIS-716) cmislib 0.5.1 unit test fails against Alfresco 4.2.d because of empty repository name

     [ https://issues.apache.org/jira/browse/CMIS-716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Potts reassigned CMIS-716:
-------------------------------

    Assignee:     (was: Jeff Potts)

> cmislib 0.5.1 unit test fails against Alfresco 4.2.d because of empty repository name
> -------------------------------------------------------------------------------------
>
>                 Key: CMIS-716
>                 URL: https://issues.apache.org/jira/browse/CMIS-716
>             Project: Chemistry
>          Issue Type: Bug
>          Components: python-cmislib
>    Affects Versions: cmislib 0.5.1
>         Environment: cmislib 0.5.1 against Alfresco Community 4.2.d (productVersion = 4.2.0 (r54676-b4795)) using the new CMIS version specific URLs
>            Reporter: Jeff Potts
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)