Fail to create Requirement Spécifications

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
Tiwaz
TestLink user
Posts: 3
Joined: Mon Jun 21, 2010 2:20 pm

Fail to create Requirement Spécifications

Post by Tiwaz »

Hi all,

i've done a TestLink install on this configuration
  • - Windows Server 2003 R2 Standard Edition SP 2
    - IIS 6
    - Php 2.5.6
    - SQL Server 2005
After configuring BDD, LDAP directory, SMTP and MANTIS link, i did some test with Testlink. Everythings feel good except when i want to create Requirement Spécifications.

When i want to use this feature, i can use "New requirement spécifications" button but when i clic "Save" button nothing happens during 1 min. After that if i use "update tree" button, i can find the new RS in the treeview but when i clic on it nothing appear in the right of the screen.

After a look a the database, i can see there is no data in tables: dbo.requirements, dbo.req_specs, dbo.req_coverage, but i can find the name of my RS in table nodes_hierarchy.

Does someone already had this problem? Or can you give me some way of research to try to solve this problem?

Thanks in advance

Regards
TurboPT
Member of TestLink Community
Posts: 343
Joined: Sun Dec 10, 2006 4:51 am

Re: Fail to create Requirement Spécifications

Post by TurboPT »

What PHP version is that? [I'm sure you meant 5.2.6?]

Anyway, a couple of places to check:
1. the Events log and see what error message(s) might be there. [located on the toolbar]
2. the server logs for anything unusual
Tiwaz
TestLink user
Posts: 3
Joined: Mon Jun 21, 2010 2:20 pm

Re: Fail to create Requirement Spécifications

Post by Tiwaz »

You're right PHP version is 5.2.6!

About event log, if i except audit event, i ve 2 kind of warning:
First one is about translation : String 'error_no_testprojects_present' is not localized for 'en_US' . I m not sure that is a big deal.
Second one i don't really understand : E_NOTICE Undefined property:stdClass::$order_by_role_dir - in c:\Inetpub\wwwroot\testlink\lib\usermanagement\usersView.php

About server log, i've this warning a lot of time:
Invalid argument supplied for foreach() - in C:\Inetpub\wwwroot\testlink\lib\functions\cfield_mgr.class.php - Line 68

I think this warning is about custom directory but i've only the 2 original file _cf_radio_head.php and readme.

I don't see link between this warning and the requirement specifications but i'm still looking.

Regards
TurboPT
Member of TestLink Community
Posts: 343
Joined: Sun Dec 10, 2006 4:51 am

Re: Fail to create Requirement Spécifications

Post by TurboPT »

Another place to check is the logs directory within any log files found there.

1. The first one is not a big deal. The way to fix any 'LOCALIZE' messages is to search for that portion of the string [it's a partial of the true one] in the locale/en_GB/strings.txt file, and copy it to the same place/area in locale/en_US/strings.txt

2. I'm not sure about the second one either...

3. The last one is curious, as that shouldn't be doing anything because the glob pattern does NOT match any files.
One thing to check there, is after this line in the file:

Code: Select all

$cf_files=glob( TL_ABS_PATH . "custom/cf_*.php");
...add this:

Code: Select all

print_r($cf_files);
...to see what output is being returned by the glob.

Again, though, check the logs directory for any other potential information.
Tiwaz
TestLink user
Posts: 3
Joined: Mon Jun 21, 2010 2:20 pm

Re: Fail to create Requirement Spécifications

Post by Tiwaz »

Hi all
So i've done some others tests and finally i found what's the problem.

After succeed a test whit mySQL, i 've detected that the database affect Testlink's execution.

So i've configured again testlink with sqlserver and i've changed the default langage for testlink db user from french to english and all run well.

It's fixed, thanks for the time you've spent to read me and answer me.

Auto quote !!!
Just out of curiosity, what action is performed when creating the RS in the database on which the language of the db user have an impact. I thought of a timestamp, but there is no such columns in the table dbo.requirements?

Of course yes there is a time column in dbo.req_specs : creation_ts

Thanks again
Locked