MantisBT - TestLink
View Issue Details
0008833TestLinkTest Specificationpublic2019-12-27 16:112020-01-11 11:19
valentim 
fman 
normalblockalways
resolvedunable to reproduce 
LinuxCentOS8
1.9.19.01 (1.9.19 fixes) 
 
mysql Ver 8.0.17 for Linux on x86_64
Google Chrome Version 79.0.3945.88 (Official Version) 64 bits
PHP 7.4.1 (cli) (built: Dec 17 2019 16:35:58) ( NTS )
TBD
0008833: Test Specification not saving
After you set a new test specification and click on "Apply", nothing happens.
After new installation
Create a user
Click on "Desktop" icon
Click on Test specification button
Fill all Filter options
Click in Apply
I found the following error into logs:

[<<][5e06259abc642384360871][DEFAULT][/lib/testcases/listTestCases.php][19/Dec/27 15:39:06][19/Dec/27 15:39:06][took 0.00263 secs]
[>>][5e06259abd143779267846][DEFAULT][/lib/testcases/listTestCases.php][19/Dec/27 15:39:06]
[<<][5e06259abd143779267846][DEFAULT][/lib/testcases/listTestCases.php][19/Dec/27 15:39:06][19/Dec/27 15:39:06][took 0.002256 secs]
[>>][5e06259abda76454445395][DEFAULT][/lib/testcases/listTestCases.php][19/Dec/27 15:39:06]
        [19/Dec/27 15:39:06][WARNING][vua3aunugkmmkaunj0qagmehhl][GUI - Test Project ID : 1]
                E_NOTICE
Trying to access array offset on value of type bool - in /var/www/html/testlink-1.9.19.01/lib/functions/tlTestCaseFilterControl.class.php - Line 1595
        [19/Dec/27 15:39:06][WARNING][vua3aunugkmmkaunj0qagmehhl][GUI - Test Project ID : 1]
                E_NOTICE
Trying to access array offset on value of type bool - in /var/www/html/testlink-1.9.19.01/lib/functions/tlTestCaseFilterControl.class.php - Line 1601
        [19/Dec/27 15:39:06][WARNING][vua3aunugkmmkaunj0qagmehhl][GUI - Test Project ID : 1]
                E_WARNING
count(): Parameter must be an array or an object that implements Countable - in /var/www/html/testlink-1.9.19.01/lib/functions/testproject.class.php - Line 3145
[<<][5e06259abda76454445395][DEFAULT][/lib/testcases/listTestCases.php][19/Dec/27 15:39:06][19/Dec/27 15:39:06][took 0.021308 secs]
No tags attached.
Issue History
2019-12-27 16:11valentimNew Issue
2019-12-28 11:51fmanNote Added: 0029346
2019-12-28 12:03fmanNote Edited: 0029346bug_revision_view_page.php?bugnote_id=29346#r5979
2019-12-28 12:03fmanAssigned To => fman
2019-12-28 12:03fmanStatusnew => feedback
2019-12-28 13:04fmanNote Added: 0029358
2019-12-28 13:04fmanNote View State: 0029358: private
2019-12-28 13:04fmanNote View State: 0029346: public
2019-12-28 13:05fmanNote Edited: 0029358bug_revision_view_page.php?rev_id=5981
2019-12-28 13:05fmanNote Deleted: 0029358
2020-01-11 11:19fmanQA Team - Task Workflow Status => TBD
2020-01-11 11:19fmanNote Added: 0029403
2020-01-11 11:19fmanStatusfeedback => resolved
2020-01-11 11:19fmanResolutionopen => unable to reproduce

Notes
(0029346)
fman   
2019-12-28 11:51   
(edited on: 2019-12-28 12:03)
Just tested on PHP 7.4.1, unable to reproduce

Fixed the error present in testlink log

https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/b75ec516aeb5b49998de086a31c67c4382587f59 [^]

https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/7ea647c2d3c4fc6f2f0287e4a08df2f1144256a2 [^]

https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/e3c50da5d30a73d9bfcc816697a8b62fa69da58a [^]

(0029403)
fman   
2020-01-11 11:19   
no more user feedback