Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008768TestLinkUsers and Rightspublic2019-09-18 16:542019-09-25 12:31
Reporterfilipse 
Assigned Tofman 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionunable to reproduce 
PlatformLinuxOSRedHatOS Version7.7
Product Version1.9.19 (2019 Q1) 
Fixed in Version 
Summary0008768: Can't assign right Test Plan - > Update Linked Test Case Versions
Description
Dear TestLink support,

Whenever I try to assign to a existing or new role, right Test Plan - > Update Linked Test Case Versions it is never kept/saved. Once I return to the role the referred right is not selected.

I'm trying to this due to requests from users of our TestLink instance.
They have created new test case versions of already executed test case.
They want to update the new TC version for execution on test plans but the version number can not be changed.
For not executed TC this is not an issue. They also don't want to remove the tests from the test plan since this will remove execution history.

Is this a bug or am I not getting how this version works? Can you please provide support?


Thanks,

TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL 5.7.24
Browser
PHP Version7.2.10
TestCaseID
QA Team - Task Workflow StatusTBD
Attached Files

- Relationships

-  Notes
(0029179)
fman (administrator)
2019-09-19 10:45

Please
1. update to code on branch tl1.19.9.01 from github
2. provide very detailed steps to reproduce in order to allow me to be sure I'm doing same operations
I need specific steps : i.e. create test plan A, private, open, ecc
(0029181)
filipse (reporter)
2019-09-19 12:05

Steps to reproduce the behavior described at the first sentence above are:

1 - Login as admin and access User/Roles->View Roles
2 - Select a role for edition
3 - Check privilege Test Plan - > Update Linked Test Case Versions
4 - Save role
5 - Select again the same role for edition. Privilege Test Plan - > Update Linked Test Case Versions is unchecked

Please mind that other changes either on other privileges or of the role name change are saved.

For the remaining text I cannot update the versions in either brand new projects already created on TL 1.9.19 as well as in projects imported from the old TL 1.9.14 version.


I will take care of updating the code as mentioned by you on your point 1 above.


Thanks for your feedback,
(0029182)
fman (administrator)
2019-09-19 12:27

Details are still fuzzy, because standard roles provided with Testlink theoretically can not be edited, I have to guess that you have created a new customized role?
(0029184)
filipse (reporter)
2019-09-19 12:38

The described behavior both happens on a new customized role as well as on standard roles - that I was able to change.

For instance I just add to standard role Leader privilege Requirement->Requirement-Test Case Assignment
(0029185)
fman (administrator)
2019-09-19 13:01

I'm going to test with FRESH installation, not with a migration.
issue can be releated to missing records in the rights table.

Best option fresh installation, compare of rights table content
(0029191)
filipse (reporter)
2019-09-19 14:40

I have applied the 1.9.19.01 patches but behavior is still the same.

Please let me know of any further support from me you may need.


Thanks,
(0029195)
fman (administrator)
2019-09-19 18:02

Please provide feedback regarding actions requested in note 29185
(0029196)
fman (administrator)
2019-09-19 18:13

Just done FRESH install of 1.9.19.01 on squash.io.
I've modified the leader role adding Update Linked Test Case Versions

no issue
(0029197)
filipse (reporter)
2019-09-19 18:21
edited on: 2019-09-19 18:23

Content of table rights on our server is below. Anything missing?

mysql> select * from rights order by id;
+----+---------------------------------------+
| id | description |
+----+---------------------------------------+
| 1 | testplan_execute |
| 2 | testplan_create_build |
| 3 | testplan_metrics |
| 4 | testplan_planning |
| 5 | testplan_user_role_assignment |
| 6 | mgt_view_tc |
| 7 | mgt_modify_tc |
| 8 | mgt_view_key |
| 9 | mgt_modify_key |
| 10 | mgt_view_req |
| 11 | mgt_modify_req |
| 12 | mgt_modify_product |
| 13 | mgt_users |
| 14 | role_management |
| 15 | user_role_assignment |
| 16 | mgt_testplan_create |
| 17 | cfield_view |
| 18 | cfield_management |
| 19 | system_configuration |
| 20 | mgt_view_events |
| 21 | mgt_view_usergroups |
| 22 | events_mgt |
| 24 | platform_management |
| 25 | platform_view |
| 26 | project_inventory_management |
| 27 | project_inventory_view |
| 28 | req_tcase_link_management |
| 29 | keyword_assignment |
| 30 | mgt_unfreeze_req |
| 31 | issuetracker_management |
| 32 | issuetracker_view |
| 33 | reqmgrsystem_management |
| 34 | reqmgrsystem_view |
| 35 | exec_edit_notes |
| 36 | exec_delete |
| 37 | testplan_unlink_executed_testcases |
| 38 | testproject_delete_executed_testcases |
| 39 | testproject_edit_executed_testcases |
| 47 | testcase_freeze |
| 48 | mgt_plugins |
| 49 | exec_ro_access |
| 50 | monitor_requirement |
| 51 | codetracker_management |
| 52 | codetracker_view |
| 53 | cfield_assignment |
| 54 | exec_assign_testcases |
+----+---------------------------------------+
46 rows in set (0.00 sec)

(0029213)
filipse (reporter)
2019-09-24 11:05

Hi,

Do you have any news on this or need any further information?

Thanks,
(0029214)
fman (administrator)
2019-09-24 12:23

Dear user, I've asked you to do the check, It's not something I plan to do
(0029216)
filipse (reporter)
2019-09-25 11:52

I have done the fresh installation as advised and verified the content of table rights had a few more rows than on my installation.

Using the instructions below I have add the missing entries on table rights of my installation:

insert into rights (id, description) VALUES (23, 'testproject_user_role_assignment');
insert into rights (id, description) VALUES (40, 'testplan_milestone_overview');
insert into rights (id, description) VALUES (41, 'exec_testcases_assigned_to_me');
insert into rights (id, description) VALUES (42, 'testproject_metrics_dashboard');
insert into rights (id, description) VALUES (43, 'testplan_add_remove_platforms');
insert into rights (id, description) VALUES (44, 'testplan_update_linked_testcase_versions');
insert into rights (id, description) VALUES (45, 'testplan_set_urgent_testcases');
insert into rights (id, description) VALUES (46, 'testplan_show_testcases_newest_versions');


After this the issue is solved.

Thanks for all the support.
(0029218)
fman (administrator)
2019-09-25 12:31

Great!

- Issue History
Date Modified Username Field Change
2019-09-18 16:54 filipse New Issue
2019-09-19 10:45 fman Note Added: 0029179
2019-09-19 12:05 filipse Note Added: 0029181
2019-09-19 12:27 fman Note Added: 0029182
2019-09-19 12:38 filipse Note Added: 0029184
2019-09-19 13:01 fman Note Added: 0029185
2019-09-19 14:40 filipse Note Added: 0029191
2019-09-19 18:02 fman Note Added: 0029195
2019-09-19 18:13 fman Note Added: 0029196
2019-09-19 18:13 fman Assigned To => fman
2019-09-19 18:13 fman Status new => feedback
2019-09-19 18:21 filipse Note Added: 0029197
2019-09-19 18:21 filipse Status feedback => assigned
2019-09-19 18:23 filipse Note Edited: 0029197 View Revisions
2019-09-24 11:05 filipse Note Added: 0029213
2019-09-24 12:23 fman Note Added: 0029214
2019-09-24 12:23 fman QA Team - Task Workflow Status => TBD
2019-09-24 12:23 fman Status assigned => resolved
2019-09-24 12:23 fman Resolution open => unable to reproduce
2019-09-25 11:52 filipse Note Added: 0029216
2019-09-25 12:31 fman Note Added: 0029218



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker