Jira 4.3.3 and Testlink 1.9.4 - & ISSUE

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

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
Martens
TestLink user
Posts: 8
Joined: Thu Oct 04, 2007 4:47 pm

Jira 4.3.3 and Testlink 1.9.4 - & ISSUE

Post by Martens »

Hi,
I have successfully migrated (a Copy) of our TestLink 1.7.5 to 1.9.4 :D.
Now I try to integrate our Jira (v4.3.3#617-r149616) into TestLink with these settings:

Code: Select all

<!-- Template jirasoapInterface -->
<issuetracker>
<username>XXX</username>
<password>XXX</password>
<uribase>https://XXX.de/jira/</uribase>
<uriwsdl>https://confluence.XXX.de/jira/rpc/soap/jirasoapservice-v2?wsdl</uriwsdl>
<uriview>https://confluence.XXX.de/jira/browse/</uriview>
<!-- pid: ID of the Project in JIRA, issuetype=1 is Jira Type Error -->
<uricreate>https://confluence.XXX.de/jira/secure/CreateIssueDetails!init.jspa?pid=10720[b]&[/b]issuetype=1</uricreate>
</issuetracker>
If I now set up the TestLink project and open a Test for execution I get a

Code: Select all

Failure loading XML STRING EntityRef: expecting ';'
instead of the Testcase (when I do not set up jira).

The <uriwsdl> in the browser gives me an XML-file and the <uricreate> a correct Issue creation page. The http://www.w3schools.com test of the XML-file is ok.
The manual only talks of jira 3.1 -minor upgrades, but there seems to be some people who get it to work with higher versions.

Maybe it is even because of the german version. (be the way, how can I help with translations, there still seems to be lots to do, the notes at the beginnings of Testcases, Execution and Specification...)

Thanks in advance

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

Re: Jira 4.3.3 and Testlink 1.9.4

Post by fman »

issue is on xml config file.
Please do a test on our demo site (I know you will not be able to connect to jira, but we can check the xml)
maybe simpleXML parser do not like something that w3schools accept
Martens
TestLink user
Posts: 8
Joined: Thu Oct 04, 2007 4:47 pm

Re: Jira 4.3.3 and Testlink 1.9.4

Post by Martens »

I tried, but its not working. Almost the same error.

Still

Code: Select all

Failure loading XML STRING EntityRef: expecting ';'
but the Testcase and the errormessage (IssueTracker not configured ....) is shown underneath.

One other difference I found. The example for the IssueTracker is shown in the Demo, but not here.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Jira 4.3.3 and Testlink 1.9.4

Post by fman »

Please give a look also to testlink event viewer, I've found some soap errors on demo.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Jira 4.3.3 and Testlink 1.9.4

Post by fman »

after doing some simple and minor tests, seems that there is an issue with
<uricreate>https://confluence.XXX.de/jira/secure/C ... /uricreate>
if you remove this line the error with ; do not happens
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Jira 4.3.3 and Testlink 1.9.4

Post by fman »

Answer found:
http://stackoverflow.com/questions/4540 ... arse-error

issue is & that has to be replaced with the entity.
We will try with suggested fix on http://stackoverflow.com/questions/4540 ... arse-error

After some tests, my choice is DO NOT TOUCH CODE just add a warning on config sample
Martens
TestLink user
Posts: 8
Joined: Thu Oct 04, 2007 4:47 pm

Re: Jira 4.3.3 and Testlink 1.9.4 - & ISSUE

Post by Martens »

More Infos:

instead of using CreateIssueDetails!init.jspa it is better to use CreateIssue.jspa. There you don't need to declare project AND error type, one or none is good.

BUT...

I tried with <uricreate> and without. If I activate the Issue Tracker I get no Testcases in the Test Execution, just a blank frame. On the demo site the Testcase is shown (Project demo, for example), with or without an errormessage.

In the eventlogs I found this warning:
E_WARNING require_once(SoapClient.class.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory - in C:\Projekte\Qbase\Testlink\www\testlink\lib\functions\common.php - Line 99
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Jira 4.3.3 and Testlink 1.9.4 - & ISSUE

Post by fman »

1000 times said but seems useless => do not use forum for issues => use mantis.
this kind of error smell of autoload() failing to load class.
Martens
TestLink user
Posts: 8
Joined: Thu Oct 04, 2007 4:47 pm

Re: Jira 4.3.3 and Testlink 1.9.4 - & ISSUE

Post by Martens »

I don't think this is a bug. Your demosite works, but in my installation it doesn't.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Jira 4.3.3 and Testlink 1.9.4 - & ISSUE

Post by fman »

similar issue reported on mantis, by user using WAMPP.
Some misconfiguration at PHP include path level or something like that, but have no clear idea
Martens
TestLink user
Posts: 8
Joined: Thu Oct 04, 2007 4:47 pm

Re: Jira 4.3.3 and Testlink 1.9.4 - & ISSUE

Post by Martens »

Oh, ok.

So here some update on the system.
It's a virtual machine with Windows XP just for Testlink. Back in 2008, I installed everything "by hand".

Installed on it is:
- MySQL Server 5.0
- PHP 5.2.4
- Apache HTTP Server 2.2.4

No package or anything. Can that be the problem?
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Jira 4.3.3 and Testlink 1.9.4 - & ISSUE

Post by fman »

user have found SOLUTION ( we are going to add some new check) you have to enable SOAP DDL on your php.ini
see on mantis http://mantis.testlink.org/view.php?id=5278

please check and provide feedback
Martens
TestLink user
Posts: 8
Joined: Thu Oct 04, 2007 4:47 pm

Re: Jira 4.3.3 and Testlink 1.9.4 - & ISSUE

Post by Martens »

ok, I am getting close.

I found the php_soap.dll for php 5.2.5 on the net, copied it to the ext folder and added it in the php.ini. Now I can see the testcase.

BUT :cry:

the connection is still not working.

I get this:
E_NOTICE SoapClient::SoapClient() [<a href='function.SoapClient-SoapClient'>function.SoapClient-SoapClient</a>]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?

I found out, that in PHP ssl is not configured. I added the php_openssl.dll to the extentions and installed openssl for windows, but still no luck. SSL is neither in "Registered Stream Socket Transports" nor in "Registered PHP Streams". I added [PHP_OPENSSL] section to the php.ini and updated the Path-variable. The OPENSSL_CONF variable is shown in phpinfo() and the right Path.

I finally give up. When our release is done and nobody is using testlink for a while, I will backup the DB and install a fresh and current XAMPP. But I can't do it before end of November. I will give an update then.

Thanks a lot, David
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Jira 4.3.3 and Testlink 1.9.4 - & ISSUE

Post by fman »

use XAMPP if I'm not wrong you will get ALSO HTTPS ready to use
Post Reply