Too much trouble with TestLink, who si wrong?

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
gandreotti
TestLink user
Posts: 9
Joined: Tue Oct 30, 2007 3:32 pm
Location: Switzerland/China Beijing

Too much trouble with TestLink, who si wrong?

Post by gandreotti »

:?:
I have a lot of trouble with TestLink and before posting many bug reports in Mantis I want to be sure I did not miss something.
My Environment:
Apache 2.2
PHP 5.2.3
MySQL 5.0.45
Windows XP Pro SP2
Firefox 2.0.0.8
I am running XOOP, Squirrel Mail, PHPMyadmin and many other applications so it seems that my server config is fine. But in Testlink:

1- I can't assign TC to users (bug 0001163 already existing in Mantis)
2- I can view attachments in executed test (Nothing found in Mantis)
3- Executed test are not saved. If I logout them login, all the tests I performed are lost (seems to be a too big bug to be true) (Nothing found in Mantis)
4- I quite a lot of PHP errors (like Undefined property: stdClass::$order_by...)
5- Navigation view not visible when using EI 7 (already posted in this forum)

So I am lost and I wonder if I should wait for the next release or if something is wrong with me? :roll:

Thanks

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

Post by fman »

1. resolved 5 mins ago on branch -> wait for 1.7.1
or change at line 49 is_open with open on tc_exec_assignments

2. what attachments do you not see ?

3. Need detailed steps.

4. solved on last branch commit

5. What is navigation view ? please clarify

We can not assure we are testing with last browsers versions (I use IE 6 and firefox, and do all my tests with firefox).
gandreotti
TestLink user
Posts: 9
Joined: Tue Oct 30, 2007 3:32 pm
Location: Switzerland/China Beijing

Details on too much problemes

Post by gandreotti »

Sorry I did not wanted to pollute the forum with unnecessary request so I did not write any details:
1- Done, running now
2- JPG and PDF at least. I have the following error
Notice: Undefined property: stdClass::$order_by in ...testlink_171\lib\functions\attachments.inc.php on line 319
Warning: Cannot modify header information - headers already sent by (output started at ....\testlink_171\lib\functions\attachments.inc.php:319) in ....\testlink_171\lib\attachments\attachmentdownload.php on line 34 (Same message up to line 38 )

then it displays the jpeg file in text mode
3- I do not have coherent result yet here I will try different ways. What it is sure is that the Notes / Description are saved in the database but not display in the Testlink execute page. Same issue sometime with the attachments.
4-Ok
5- See http://www.teamst.org/phpBB2/viewtopic.php?t=618

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

Post by fman »

regarding:
Notice: Undefined property: stdClass::$order_by in

this problem (Was my fault) as been solved, get last 1.7.1 tarball and retest

3. again give me step by step details, in order to reproduce.
gandreotti
TestLink user
Posts: 9
Joined: Tue Oct 30, 2007 3:32 pm
Location: Switzerland/China Beijing

Case 3 steps

Post by gandreotti »

Hi,
Really nothing special in the steps I performed:
  • Click Execute
    Choose a value for Assigned to
    Apply the filter
    Click the Plan I want to work on
    Scroll to the Case I want to execute
    Add a Note
    Choose a result value
    Click the Save Execution button
The page refresh and the Note is not visible anymore from the Execute interface but present in the Executions table of the database.

Questions:
a- Is there a way to see the Note from the result reports?
b- Is there a way to create a Bug report directly from TestLink? It will be nice to be able to directly create a bug report and automatically export the Test result with the Case description, Note status directly to Mantis or to another supported Bug tracking system.


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

Post by fman »

integration with Bug tracking systems, to be general, can be only light,
then you can integrate TL with mantis, or jira, or bugzilla,
but you need to do all manually:
i.e:
using tl open link on bts
report issue
write down issue number

then input it on TL.

other kind of integration are more difficult, and may be will be done in
future.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

regarding notes now works in this way you must click on icon to see it.
is not as was on 1.0 anymore.

there is a request to enable on line view of notes, must be implemented

do you wnat to help us ?

i dont know if someone has submited patches to our mantis.
please do some searchs
gandreotti
TestLink user
Posts: 9
Joined: Tue Oct 30, 2007 3:32 pm
Location: Switzerland/China Beijing

Last version installed but still an issue

Post by gandreotti »

Hi,
Thanks for your reply. I installed the lastest version: The Tree is running now with IE and other small glitches seem fixed. But I still have frequent PHP message Notice: Undefined property: stdClass::$order_by

Still issues to see the attachments (tried JPG and PDF). See the error message above

Code: Select all

Warning: Cannot modify header information - headers already sent by (output started at E:\xampp\testlink_171\lib\functions\attachments.inc.php:319) in E:\xampp\testlink_171\lib\attachments\attachmentdownload.php on line 38
ÿØÿà�JFIF��`�`��ÿÛ�C�   
About helping you, I am not a PHP guy and my team are C* guys. I can help you with documentation (French or English eventually Chinese), testing and eventually design. About other forms of help, please contact me on my email.

Did not find any patches for Mantis
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

Your config.inc.php is wrong,
Please get 1.7.1, and overwrite your config.inc.php

(really there is an issue on mantis, with a workaround)

Start putting your customization on:
custom_config.inc.php


regards
gandreotti
TestLink user
Posts: 9
Joined: Tue Oct 30, 2007 3:32 pm
Location: Switzerland/China Beijing

Still have troubles

Post by gandreotti »

Hi,
I did not modified config.inc.php but only custom_config.inc.php. To be sure about it I overwrite config.inc.php with the original one, but still have the same issues. I just customized the SMTP and MANTIS parameters inside custom_config.inc.php.
Addtionnaly since I set one of the user for Chinese language at least one button when using the english interface displays "LOCALIZE: button_reset_password" and all the buttons display similar message when using the Chinese interface.
Regards
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

1. you are not confirming if problem persist or not.
anyway this problem has been fixed.

2. regarding LOCALIZE , these means that the string is not defined on
strings.txt for chinese.

Try to get last strings.txt chinese from CVS head.
if this do not solve your problem use custom_strings.txt adding missing strings. (read config.inc.php to understand how to use custom*)

3. have you added your company to the forum ?
gandreotti
TestLink user
Posts: 9
Joined: Tue Oct 30, 2007 3:32 pm
Location: Switzerland/China Beijing

Persisting issues

Post by gandreotti »

Hi, and thanks for your answer.
We still have the following issues:

1- Unable to display the attachments (issues already described in a previous message)
2- Still have a lot of Undefined property: stdClass::$order_by notice. I downloaded the last version, do everything you suggested, but ...

About the localized strings.txt it seems that I still have a lot to do here. For example only 3 of the 12 installed strings.txt contain the button_reset_password string. Mainy others are missing in the Chinese one. Is there a repository or do you have a reference one I can use to fix the strings.txt I am using?

About Mantis integration I am a litte but too busy this week to investigate. I can link a failed execution to an existing Mantis entry, but for me the ideal will be to directly create an event in Mantis by exporting the TestLink results.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

You need to do this:
1. backup your code
2. get 1.7.1
3. install it -> attachment problems must disapear

Regarding creating an issue on mantis directly form TL:
this is not available.

I have developed (and there are other develpoments) creating issue on mantis importing from a file, this can be a soution.

Check on:
http://deboutv.free.fr/mantis/
Post Reply