Import XML results gives IE error

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
Malte
TestLink user
Posts: 12
Joined: Wed Apr 22, 2009 1:48 pm

Import XML results gives IE error

Post by Malte »

Using TL1.8 RC5:
When trying to import test results from an xml file using the Import xml results button in the GUI, Internet Explorer shows an 'error on page':

Line: 21
Char: 2
Error: Invalid Argument
Code: 0
URL: ...execTestResults.php?....

Any ideas of what could cause this? Could it be a configuration issue?

Also, is it possible to import multiple results (for many test cases) this way?
The button only shows up when a single test case is selected in test execution, but the example in tl-file-formats.pdf indicate that it should work to import more results for more than one test case at a time...
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

you must to update to 1.8.2
Malte
TestLink user
Posts: 12
Joined: Wed Apr 22, 2009 1:48 pm

Upgrade 1.8.2 did not work

Post by Malte »

Thanks, we tried upgrading to 1.8.2 but the problem is still the same.

Any other ideas?

Thanks in advance!

/Malte
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

report issue on mantis with detaild steps to reproduce
Malte
TestLink user
Posts: 12
Joined: Wed Apr 22, 2009 1:48 pm

Partly worked around, but still not working...

Post by Malte »

Issue is reported #2534.

The problem remains in 1.8.3.

Workaround: When hardcoding the windowName, I at least got the window to open for selection of xml-file with test results.

But the BuildID is not included in the resulting import, so the build_id = 0 for all imported results in the executions-table in the DB.

I modified the function openImportResult to handle also BuildID as parameter (the only solution I came up with since I really don't know php...), but how to access the BuildID from this javascript call (contained in execSetResults.tpl)?
The BuildId is accessable in execSetResults.php but I don't know how to use it in execSetResults.tpl...

If I hardcode the BuildID it works fine, but that is no longterm solution. :(

Can anyone show me in a simple way (preferably with a row of code) how this can be solved?
angelus
TestLink user
Posts: 9
Joined: Wed Aug 12, 2009 3:07 pm
Location: Montreal, Quebec

Post by angelus »

Hi Malte, did you get a solution for this. I updated to TestLink 1.8.5 but unfortunately the same issue is still there.
Thanks
Locked