[
https://issues.apache.org/jira/browse/CMIS-716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13759362#comment-13759362
]
Jeff Potts commented on CMIS-716:
---------------------------------
To be clear, this problem does not occur when using the 4.x CMIS URL:
/alfresco/cmisatom. It is only the new URLs affected, ie,
/alfresco/api/-default-/public/cmis/versions/1.0/atom and
/alfresco/api/-default-/public/cmis/versions/1.1/atom
> 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