query method handling e accute in collection name

Project:RUcore Shared Classes
Component:Collection Hierarchy (coll_hierarchy)
Category:bug report

When the query method passes back the XML envelope if the collection name contains a é XML DOM errors occur. The problem does not seem to happen with the form method.



Project:RUcore/NJDH/Partner Portal Search»
Version:5.2» 5.2
Component:API» Code
Status:active» test

Moving to the Collection Hierarchy class because the error was caused by the 'BuildIndexTreeXML' method in that class. This class is used by the Search API to build collection trees. No encoding was occurring, so I switch to encode in utf8 and applied htmlspecialchars() at the same time. Test is to create a collection with an accute accent such as é and see if the advanced search form and search results do not break.


Project:» RUcore Shared Classes
Version:5.2» 7-x
Component:Code» Collection Hierarchy - Code


Version:7-x» 7.0
Component:Collection Hierarchy - Code» Collection Hierarchy (coll_hierarchy)


Assigned to:chadmills» ananthan

Test is outlined in comment #1.


Status:test» closed

Closing old issue.

-Chad & Kalaivani

Back to top