MantisBT - TestLink
View Issue Details
0002348TestLinkTest Project Managementpublic2009-04-07 22:572009-05-11 15:55
alert_qc 
schlundus 
normalmajoralways
closedfixed 
1.8.1 
1.8.2 
FireFox
PHP Version 5.2.6
0002348: Test Case import from excel broken in 1.8.1
After upgrading to 1.8.1 the import feature in the testcases seems to be broken.

Error in apache:

[Tue Apr 07 16:05:58 2009] [error] [client 192.168.15.45] PHP Fatal error: Call to a member function get_elements_by_tagname() on a non-object in /var/www/testlink/lib/testcases/tcImport.php on line 176, referer: http://alerttestlink/testlink/lib/testcases/tcImport.php [^]

No testcase is imported!
No tags attached.
has duplicate 0002394closed schlundus Importing Data via XLS Crashes 
xls Test.xls (38,400) 2009-04-07 22:57
http://mantis.testlink.org/file_download.php?file_id=943&type=bug
Issue History
2009-04-07 22:57alert_qcNew Issue
2009-04-07 22:57alert_qcFile Added: Test.xls
2009-04-07 22:57alert_qcBrowser => FireFox
2009-04-07 22:57alert_qcPHP Version => PHP Version 5.2.6
2009-04-08 00:42schlundusStatusnew => assigned
2009-04-08 00:42schlundusAssigned To => schlundus
2009-04-08 01:11schlundusStatusassigned => confirmed
2009-04-08 08:18toshiNote Added: 0006257
2009-04-08 13:23schlundusNote Added: 0006261
2009-04-08 15:07toshiNote Added: 0006262
2009-04-10 03:46schlundusStatusconfirmed => resolved
2009-04-10 03:46schlundusFixed in Version => 1.8.2 (bug fixing)
2009-04-10 03:46schlundusResolutionopen => fixed
2009-04-10 03:46schlundusNote Added: 0006330
2009-04-18 01:32schlundusRelationship addedhas duplicate 0002394
2009-05-11 15:55mhavlatStatusresolved => closed

Notes
(0006257)
toshi   
2009-04-08 08:18   
This issue seems to be a language specific issue.
When I tested with test cases in English and Japanese, the import was success.
(0006261)
schlundus   
2009-04-08 13:23   
This is correct, it works for UTF-8 related languages but not for the ISO-ones
(0006262)
toshi   
2009-04-08 15:07   
If I set $tlCfg->charset = 'latin1', I cannot import this file yet.
Could we set excel charset?
(0006330)
schlundus   
2009-04-10 03:46   
Fixed in 1.8.2 and above