chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Potts (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CMIS-238) folder.getChildren() fails on Alfresco (3.2r2) if child has name with ampersand in it (&)
Date Tue, 13 Jul 2010 16:36:49 GMT

     [ https://issues.apache.org/jira/browse/CMIS-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jeff Potts resolved CMIS-238.
-----------------------------

    Resolution: Not A Problem

I was able to reproduce this on 3.2r2 Community using both Python 2.6 core and Python 2.6
+ PyXML which is what the reporter seems to have installed.

The problem has been resolved with Alfresco 3.3g Community, so I am resolving this issue.

> folder.getChildren() fails on Alfresco (3.2r2) if child has name with ampersand in it
(&)
> -----------------------------------------------------------------------------------------
>
>                 Key: CMIS-238
>                 URL: https://issues.apache.org/jira/browse/CMIS-238
>             Project: Chemistry
>          Issue Type: Bug
>          Components: cmislib
>            Reporter: Jeff Potts
>            Assignee: Jeff Potts
>            Priority: Minor
>
> Migrated from GC issue 17, Reported by bdkahn, Mar 30, 2010
> What steps will reproduce the problem?
> 1.Create a file with a & in its filename or title
> 2.Run getChildren() on the parent folder
> What is the expected output? What do you see instead?
> I expect the file title will be returned, but I see an error:
>   File "ra-update.py", line 45, in main
>     files = subfolder.getChildren()
>   File "/usr/lib/python2.6/site-packages/cmislib-0.3-
> py2.6.egg/cmislib/model.py", line 2737, in getChildren
>   File "/usr/lib/python2.6/site-packages/cmislib-0.3-
> py2.6.egg/cmislib/model.py", line 199, in get
>   File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/minidom.py", line 
> 1915, in parse
>     return expatbuilder.parse(file)
>   File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/expatbuilder.py", 
> line 930, in parse
>     result = builder.parseFile(file)
>   File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/expatbuilder.py", 
> line 207, in parseFile
>     parser.Parse(buffer, 0)
> xml.parsers.expat.ExpatError: not well-formed (invalid token): line 83, 
> column 39
> What version of the product are you using? On what operating system?
> cmislib-0.3-py2.6.egg

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


Mime
View raw message