In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1001 [In-Portal CMS] Data Management feature request N/A 2011-02-12 09:39 2012-07-25 05:33
alex  
alex  
normal  
closed 5.1.2-B1  
fixed  
 
none 5.2.0-B1  
https://groups.google.com/d/topic/in-portal-dev/7LBrqzcrquE/discussion
Added kXMLHelper::isError method for error checking
1
0001001: New method for XML parsing error checking
Another new method (previous was about curl response error checking) for checking of xml document parsing ended with error.
related to 0000991closed  (5.1.3)alex Usability improvement to kCurlHelper class 
patch xml_parse_error_detection_method.patch (508) 2011-02-12 09:39
http://tracker.in-portal.org/file_download.php?file_id=946&type=bug
patch xml_parse_error_detection_method_520.patch (6,840) 2011-10-03 04:30
http://tracker.in-portal.org/file_download.php?file_id=1179&type=bug
Issue History
2012-07-25 05:33 alex Note Added: 0005091
2012-07-25 05:33 alex Status resolved => closed
2011-10-22 05:34 alex Estimate Points => 1
2011-10-03 04:31 alex Changeset attached 5.2.x r14607
2011-10-03 04:31 alex Note Added: 0003962
2011-10-03 04:31 alex Status reviewed and tested => resolved
2011-10-03 04:31 alex Fixed in Version => 5.2.0-B1
2011-10-03 04:31 alex Resolution open => fixed
2011-10-03 04:31 alex Assigned To !COMMUNITY => alex
2011-10-03 04:30 alex Note Added: 0003961
2011-10-03 04:30 alex Status needs testing => reviewed and tested
2011-10-03 04:30 alex Time Estimate Removed 1 =>
2011-10-03 04:30 alex Status needs work => needs testing
2011-10-03 04:30 alex File Added: xml_parse_error_detection_method_520.patch
2011-09-26 04:54 alex Time Estimate Added 1
2011-09-23 20:42 Dmitry Note Added: 0003879
2011-09-23 20:42 Dmitry Status needs testing => needs work
2011-09-23 20:42 Dmitry Target Version Icebox => 5.2.0
2011-09-18 13:52 Dmitry Note Added: 0003761
2011-02-12 09:40 alex Assigned To => !COMMUNITY
2011-02-12 09:40 alex Developer => alex
2011-02-12 09:40 alex Status active => needs testing
2011-02-12 09:40 alex Reference => https://groups.google.com/d/topic/in-portal-dev/7LBrqzcrquE/discussion
2011-02-12 09:39 alex Relationship added related to 0000991
2011-02-12 09:39 alex New Issue
2011-02-12 09:39 alex File Added: xml_parse_error_detection_method.patch
2011-02-12 09:39 alex Change Log Message => Added kXMLHelper::isError method for error checking

Notes
(0003761)
Dmitry   
2011-09-18 13:52   
Testing scenario:

That's not just a bad xml that is checked by this method.

There could be the case when:
1. error source could not be detected during xml parsing and "false" (boolean) is returned instead of root node object of xml document;
2. error source could be detected and then xml node object with ERROR word as it's name is returned.

Then you need to test:
- very malformed (or maybe empty string as input) xml
- little bit malformed xml
- good xml.
(0003879)
Dmitry   
2011-09-23 20:42   
New patch for 5.2.0 needed (PHP 5 format)
(0003961)
alex   
2011-10-03 04:30   
Will test all together.
(0003962)
alex   
2011-10-03 04:31   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001001: New method for XML parsing error checking
(0005091)
alex   
2012-07-25 05:33   
Since 5.2.0 version was released.