[SOLVED]Testlink 1.9.7 redmine error

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
redpiyo
Advanced user
Posts: 17
Joined: Sat Sep 15, 2012 10:08 am

[SOLVED]Testlink 1.9.7 redmine error

Post by redpiyo »

Hi i receive some weird message appear on execSetResults.php page after migrating from 1.9.6 - 1.9.7. Any idea how to resolve this issue. It appear when i select an entry that has a bug link to redmine or when i trying to add new link bug

redminerestInterface::getIssueobject(SimpleXMLElement)#241 (16) { ["id"]=> string(1) "4" ["project"]=> object(SimpleXMLElement)#243 (1) { ["@attributes"]=> array(2) { ["name"]=> string(4) "ADCS" ["id"]=> string(1) "6" } } ["tracker"]=> object(SimpleXMLElement)#245 (1) { ["@attributes"]=> array(2) { ["name"]=> string(3) "Bug" ["id"]=> string(1) "1" } } ["status"]=> object(SimpleXMLElement)#240 (1) { ["@attributes"]=> array(2) { ["name"]=> string(3) "New" ["id"]=> string(1) "1" } } ["priority"]=> object(SimpleXMLElement)#239 (1) { ["@attributes"]=> array(2) { ["name"]=> string(6) "Normal" ["id"]=> string(1) "4" } } ["author"]=> object(SimpleXMLElement)#238 (1) { ["@attributes"]=> array(2) { ["name"]=> string(15) "User Name Admin" ["id"]=> string(1) "1" } } ["subject"]=> string(169) "/test2/TeLEOS-1 TOPS FSW Software Requirements Specifications (automatically generated from req. spec.)/test2-2:TEST [1] - Executed ON (ISO FORMAT): 2013-04-04 19:41:24" ["description"]=> string(167) "Execution ID: 1 Tester: user Test Plan: TeLEOS-1 FSW TOPS Test Plan Build: test Executed ON (ISO FORMAT): 2013-04-04 19:41:24 Execution Status: failed fail" ["start_date"]=> string(10) "2013-04-10" ["due_date"]=> object(SimpleXMLElement)#237 (0) { } ["done_ratio"]=> string(1) "0" ["estimated_hours"]=> object(SimpleXMLElement)#216 (0) { } ["spent_hours"]=> string(3) "0.0" ["custom_fields"]=> object(SimpleXMLElement)#213 (2) { ["@attributes"]=> array(1) { ["type"]=> string(5) "array" } ["custom_field"]=> array(5) { [0]=> object(SimpleXMLElement)#236 (2) { ["@attributes"]=> array(2) { ["name"]=> string(16) "Fixed In Version" ["id"]=> string(1) "3" } ["value"]=> string(4) "1.00" } [1]=> object(SimpleXMLElement)#234 (2) { ["@attributes"]=> array(2) { ["name"]=> string(8) "Severity" ["id"]=> string(1) "8" } ["value"]=> string(30) "3 (Non-fatal functional error)" } [2]=> object(SimpleXMLElement)#246 (2) { ["@attributes"]=> array(2) { ["name"]=> string(19) "Reproducibility (%)" ["id"]=> string(1) "9" } ["value"]=> string(2) "50" } [3]=> object(SimpleXMLElement)#247 (2) { ["@attributes"]=> array(2) { ["name"]=> string(11) "Defect Type" ["id"]=> string(2) "10" } ["value"]=> object(SimpleXMLElement)#249 (0) { } } [4]=> object(SimpleXMLElement)#248 (2) { ["@attributes"]=> array(2) { ["name"]=> string(7) "Comment" ["id"]=> string(1) "6" } ["value"]=> object(SimpleXMLElement)#249 (0) { } } } } ["created_on"]=> string(20) "2013-04-10T09:27:23Z" ["updated_on"]=> string(20) "2013-04-10T09:27:23Z" }
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Testlink 1.9.7 redmine error

Post by fman »

give a look to the class may be a debug output was left.
try to do some searches on mantis also
redpiyo
Advanced user
Posts: 17
Joined: Sat Sep 15, 2012 10:08 am

Re: Testlink 1.9.7 redmine error

Post by redpiyo »

I managed to resolve this issue by disabling these lines
echo __METHOD__;
var_dump($xmlObj);
var_dump($op);
felixlu
TestLink user
Posts: 3
Joined: Wed Oct 20, 2010 8:43 am

Re: Testlink 1.9.7 redmine error

Post by felixlu »

redpiyo wrote:I managed to resolve this issue by disabling these lines
echo __METHOD__;
var_dump($xmlObj);
var_dump($op);
Thank you, redpiyo. The workaround works for me too.
And I also wonder the functionality of the 3 lines of code, and if disabling them will import any other problem...
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: [SOLVED]Testlink 1.9.7 redmine error

Post by fman »

Please let me know what is not clear on:
>> give a look to the class may be a debug output was left.
and then just a couple of search on google for echo(), and var_dump() will provide you the answer.
Post Reply