Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008840TestLinkTest Specificationpublic2020-01-09 11:022020-01-16 14:17
Reporterjaverty 
Assigned Tofman 
PriorityhighSeveritymajorReproducibilityalways
StatusresolvedResolutionunable to reproduce 
PlatformOSOS Version
Product Version 
Fixed in Version 
Summary0008840: Test Suite Operations : Not possible to remove a TestSuite
DescriptionIn TestLink 1.9.20 [DEV] (Raijin), in "Test Suite Operations" menu, impossible to remove a testsuite even if there are no TestCase Attach.
Steps To ReproduceIn Test Specification
* Create a Testsuite
* Select this Testsuite
* In Test Suite Operations, click on "Delete this TestSuite and all Children..."
* Confirm "Really delete the Test Suite?"
* The confirmation message is "Test Suite : " and the Testsuite is not deleted.
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
BrowserFirefox/Chrome
PHP Version
TestCaseID
QA Team - Task Workflow StatusREADY FOR TESTING
Attached Filespng file icon 2020-01-09 11_51_40-TestLink 1.9.20 [DEV] (Raijin).png [^] (34,241 bytes) 2020-01-09 11:02

- Relationships

-  Notes
(0029400)
fman (administrator)
2020-01-11 11:08

please do not report a wrong version on version combo, this is misleading
(0029401)
fman (administrator)
2020-01-11 11:14

create test project P1
create content via import using [TL INSTALL DIR]/docs/qa_data/testproject-35-testcases.xml
create a Test Suite TS-Z100
create inside Test Suite TS-Z100, TZ-200
create inside Test Suite TS-Z100, TZ-200 => TZ-300

delete TZ100 -> no issue
(0029417)
atisne (reporter)
2020-01-16 13:58

Hi Francisco,

I can reproduce this issue on github sources @20200116.

I can't figure out why you have a different behaviour.

My analysis is that when deleting a TestSuite, nor containerID, nor containerType is provided in $_REQUEST. In the function init_args in lib/testcases/containerEdit.php, containerType is so forced to 'testproject' (line 505). In this case, $args->tprojectID is set with containerID which is null (line 524). And so, we cannot check the deletion right (line 572).

I fix it providing the containerType on the confirmation URL. You can have a look to https://github.com/TestLinkOpenSourceTRMS/testlink-code/pull/244. [^]
(0029418)
fman (administrator)
2020-01-16 14:15

I'm testing using Admin, then issue can be related to rights, but user has no provided indication about user role.
(0029419)
fman (administrator)
2020-01-16 14:17

going to apply your changes anyway

- Issue History
Date Modified Username Field Change
2020-01-09 11:02 javerty New Issue
2020-01-09 11:02 javerty File Added: 2020-01-09 11_51_40-TestLink 1.9.20 [DEV] (Raijin).png
2020-01-11 11:08 fman Note Added: 0029400
2020-01-11 11:14 fman Note Added: 0029401
2020-01-11 11:14 fman QA Team - Task Workflow Status => READY FOR TESTING
2020-01-11 11:14 fman Status new => resolved
2020-01-11 11:14 fman Resolution open => unable to reproduce
2020-01-11 11:14 fman Assigned To => fman
2020-01-11 11:15 fman Product Version 1.9.19.01 (1.9.19 fixes) =>
2020-01-16 08:36 atisne Note Added: 0029415
2020-01-16 13:02 atisne Note Deleted: 0029415
2020-01-16 13:58 atisne Note Added: 0029417
2020-01-16 14:15 fman Note Added: 0029418
2020-01-16 14:17 fman Note Added: 0029419



Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker