You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Stefane Fermigier (JIRA)" <ji...@apache.org> on 2010/03/15 15:06:27 UTC
[jira] Updated: (CMIS-158) cmislib chokes on non-ascii properties
[ https://issues.apache.org/jira/browse/CMIS-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefane Fermigier updated CMIS-158:
-----------------------------------
Description:
I believe this patch is needed on model.py:
{noformat}
@@ -3765,7 +3766,7 @@
if nodeName == 'propertyId':
return CmisId(value)
elif nodeName == 'propertyString':
- return str(value)
+ return value
elif nodeName == 'propertyBoolean':
bDict = {'false': False, 'true': True}
return bDict[value.lower()]
{noformat}
was:
I believe this patch is needed on model.py:
@@ -3765,7 +3766,7 @@
if nodeName == 'propertyId':
return CmisId(value)
elif nodeName == 'propertyString':
- return str(value)
+ return value
elif nodeName == 'propertyBoolean':
bDict = {'false': False, 'true': True}
return bDict[value.lower()]
> cmislib chokes on non-ascii properties
> --------------------------------------
>
> Key: CMIS-158
> URL: https://issues.apache.org/jira/browse/CMIS-158
> Project: Chemistry
> Issue Type: Bug
> Components: cmislib
> Reporter: Stefane Fermigier
>
> I believe this patch is needed on model.py:
> {noformat}
> @@ -3765,7 +3766,7 @@
> if nodeName == 'propertyId':
> return CmisId(value)
> elif nodeName == 'propertyString':
> - return str(value)
> + return value
> elif nodeName == 'propertyBoolean':
> bDict = {'false': False, 'true': True}
> return bDict[value.lower()]
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.