[
https://issues.apache.org/jira/browse/CMIS-971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Laurent Mignon updated CMIS-971:
--------------------------------
Description:
With the dev version of cmislib when using the browser binding. If you provide
a properties dict to the createFolder method, the following error will raise
{code}
File "../local/lib/python2.7/site-packages/cmislib/browser/binding.py", line
1387, in createFolder
return parentFolder.createFolder(name, properties, **kwargs)
File ".../local/lib/python2.7/site-packages/cmislib/browser/binding.py", line
2051, in createFolder
props["propertyId[%s]" % propCount] = prop.key
AttributeError: 'str' object has no attribute 'key'
{code}
Moreover, the code seems to be not actively developed and the git mirror is
outdated. How can I contribute efficiently. I'll provide a patch as soon as
I've finished to mirror your svn repo to github?
was:
With the dev version of cmislib when using the browser binding. If you provide
a properties dict to the createFolder method, the following error will raise
{code}
File "../local/lib/python2.7/site-packages/cmislib/browser/binding.py", line
1387, in createFolder
return parentFolder.createFolder(name, properties, **kwargs)
File ".../local/lib/python2.7/site-packages/cmislib/browser/binding.py", line
2051, in createFolder
props["propertyId[%s]" % propCount] = prop.key
AttributeError: 'str' object has no attribute 'key'
{code}
Moreover, the code seems to no bet actively developed and the git mirror is
outdated. How can I contribute efficiently. I'll provide a patch as soon as
I've finished to mirror your svn repo to github?
> Error when calling createFolder with properties parameter
> ---------------------------------------------------------
>
> Key: CMIS-971
> URL: https://issues.apache.org/jira/browse/CMIS-971
> Project: Chemistry
> Issue Type: Bug
> Components: python-cmislib
> Environment: Linux, python 2.7.x, Alfresco 5.0.x
> Reporter: Laurent Mignon
> Assignee: Jeff Potts
>
> With the dev version of cmislib when using the browser binding. If you
> provide a properties dict to the createFolder method, the following error
> will raise
> {code}
> File "../local/lib/python2.7/site-packages/cmislib/browser/binding.py",
> line 1387, in createFolder
> return parentFolder.createFolder(name, properties, **kwargs)
> File ".../local/lib/python2.7/site-packages/cmislib/browser/binding.py",
> line 2051, in createFolder
> props["propertyId[%s]" % propCount] = prop.key
> AttributeError: 'str' object has no attribute 'key'
> {code}
> Moreover, the code seems to be not actively developed and the git mirror is
> outdated. How can I contribute efficiently. I'll provide a patch as soon as
> I've finished to mirror your svn repo to github?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)