[ https://issues.apache.org/jira/browse/CMIS-716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Potts reassigned CMIS-716: ------------------------------- Assignee: 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 > Assignee: 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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira