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:04:27 UTC

[jira] Created: (CMIS-158) cmislib chokes on non-ascii properties

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:

@@ -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()]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CMIS-158) cmislib chokes on non-ascii properties

Posted by "Stefane Fermigier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefane Fermigier reassigned CMIS-158:
--------------------------------------

    Assignee: Jeff Potts

> 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
>            Assignee: Jeff Potts
>
> 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.


[jira] Updated: (CMIS-158) cmislib chokes on non-ascii properties

Posted by "Stefane Fermigier (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Resolved: (CMIS-158) cmislib chokes on non-ascii properties

Posted by "Jeff Potts (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Potts resolved CMIS-158.
-----------------------------

    Resolution: Fixed

Checked in.

> 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
>            Assignee: Jeff Potts
>
> 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.