Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006260TestLinkExport/Importpublic2014-03-25 17:072014-04-25 17:38
Reportertferreira 
Assigned Tofman 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.9.9 (2013 Q4 - bug fixing) 
Fixed in Version1.9.10 (2014 Q1 - bug fixing) 
Summary0006260: TestLink redirects the user to a blank page when importing platform using an invalid XML
DescriptionThe user is redirected to a blank page when importing platform using an invalid XML. A proper message should be displayed instead.
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
BrowserChrome
PHP Version
TestCaseID
QA Team - Task Workflow StatusREADY FOR TESTING
Attached Filesxml file icon AAQ-platforms-KO.xml [^] (378 bytes) 2014-03-25 20:57
xml file icon AAQ-platforms-KO2.xml [^] (356 bytes) 2014-03-25 20:58
xml file icon AAQ-platforms-KO3.xml [^] (344 bytes) 2014-03-25 21:13
xml file icon AAQ-platforms-KO4.xml [^] (507 bytes) 2014-03-25 21:14

- Relationships
child of 0006048closedfman Availables hot-fixes for 1.9.9 & How To get full fixed package from gitorious 

-  Notes
(0020615)
fman (administrator)
2014-03-25 17:18

can you explain what is a proper message ?
(0020625)
fman (administrator)
2014-03-25 20:56

using file: AAQ-platforms-KO.xml, exception is thrown (displayed may be according PHP error config).


Fatal error: Uncaught exception 'Exception' with message 'Class: tlPlatform - Method: throwIfEmptyName Empty name ' in /development/gitorious/testlink/lib/functions/tlPlatform.class.php:387 Stack trace: #0 /development/gitorious/testlink/lib/functions/tlPlatform.class.php(61): tlPlatform->throwIfEmptyName('') #1 /development/gitorious/testlink/lib/platforms/platformsImport.php(125): tlPlatform->create('', Object(SimpleXMLElement)) 0000002 /development/gitorious/testlink/lib/platforms/platformsImport.php(35): doImport(Object(database), '569') 0000003 {main} thrown in /development/gitorious/testlink/lib/functions/tlPlatform.class.php on line 387
(0020626)
fman (administrator)
2014-03-25 20:59

with AAQ-platforms-KO2.xml, no error, extra element <garbage></garbage> is ignored
(0020627)
fman (administrator)
2014-03-25 21:13
edited on: 2014-03-25 21:14

with AAQ-platforms-KO3.xml => error message bad xml
with AAQ-platforms-KO4.xml => error message bad xml

(0020628)
fman (administrator)
2014-03-25 21:17

https://gitorious.org/testlink-ga/testlink-code/commit/3d00de0b9896dd06fcb056c9a9010a2337d3ed6b [^]
(0020813)
fman (administrator)
2014-04-25 17:38

1.9.10 released

- Issue History
Date Modified Username Field Change
2014-03-25 17:07 tferreira New Issue
2014-03-25 17:18 fman Note Added: 0020615
2014-03-25 20:56 fman Note Added: 0020625
2014-03-25 20:57 fman File Added: AAQ-platforms-KO.xml
2014-03-25 20:58 fman File Added: AAQ-platforms-KO2.xml
2014-03-25 20:59 fman Note Added: 0020626
2014-03-25 21:13 fman Note Added: 0020627
2014-03-25 21:13 fman File Added: AAQ-platforms-KO3.xml
2014-03-25 21:14 fman File Added: AAQ-platforms-KO4.xml
2014-03-25 21:14 fman Note Edited: 0020627 View Revisions
2014-03-25 21:17 fman QA Team - Task Workflow Status => READY FOR TESTING
2014-03-25 21:17 fman Note Added: 0020628
2014-03-25 21:17 fman Status new => resolved
2014-03-25 21:17 fman Fixed in Version => 1.9.10 (2014 Q1 - bug fixing)
2014-03-25 21:17 fman Resolution open => fixed
2014-03-25 21:17 fman Assigned To => fman
2014-03-25 21:17 fman Relationship added child of 0006048
2014-04-25 17:38 fman Note Added: 0020813
2014-04-25 17:38 fman Status resolved => closed



Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker