In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
892 [In-Portal CMS] Data Management bug report always 2010-10-19 03:52 2010-11-30 12:48
alex  
alex  
normal  
closed 5.1.1-B1  
fixed  
 
none 5.1.1-B2  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/5cc84e81968688f2
0
0000892: Method "kXMLHelper::GetXML" produces broken XML
In-Portal uses kXMLHelper class to parse, process, change, assemble xml documents.

I've found 2 issues with how it is doing assembling part:
* all node/attribute names are UPPERCASED in result (this is problem for ATOM feeds, since they must be in lowercase)
* node attribute values are not escaped resulting broken XML document as a result
parent of 0000912closed  (5.1.1)alex White screen on Module Install step 
patch xmlhelper_reassembles_broken_xml.patch (11,745) 2010-10-19 03:52
http://tracker.in-portal.org/file_download.php?file_id=814&type=bug
Issue History
2010-11-30 12:48 Dmitry Note Added: 0003013
2010-11-30 12:48 Dmitry Status resolved => closed
2010-10-31 05:52 alex Relationship added parent of 0000912
2010-10-19 14:10 alex Note Added: 0002914
2010-10-19 14:10 alex Status reviewed and tested => resolved
2010-10-19 14:10 alex Fixed in Version => 5.1.1-B2
2010-10-19 14:10 alex Resolution open => fixed
2010-10-19 14:10 alex Assigned To !COMMUNITY => alex
2010-10-19 14:10 alex Changeset attached 5.1.x r14001
2010-10-19 13:31 Dmitry Note Added: 0002913
2010-10-19 13:31 Dmitry Status needs testing => reviewed and tested
2010-10-19 03:53 alex Assigned To => !COMMUNITY
2010-10-19 03:53 alex Developer => alex
2010-10-19 03:53 alex Status active => needs testing
2010-10-19 03:53 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/5cc84e81968688f2
2010-10-19 03:52 alex New Issue
2010-10-19 03:52 alex File Added: xmlhelper_reassembles_broken_xml.patch

Notes
(0002913)
Dmitry   
2010-10-19 13:31   
This patch has been tested okay, and can be commit.

However, I have noticed that for some reason RSS Import from Atom (Google Groups) is not saving fully BODY of the Article. Try importing this RSS:

http://groups.google.com/group/in-portal-bugs/feed/atom_v1_0_msgs.xml?num=50
(0002914)
alex   
2010-10-19 14:10   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000892: Method "kXMLHelper::GetXML" produces broken XML
(0003013)
Dmitry   
2010-11-30 12:48   
Closing released 5.1.1 task.