MantisBT - TestLink
View Issue Details
0008482TestLinkCustom fieldspublic2018-11-21 11:392018-11-24 10:08
resolvedunable to reproduce 
1.9.18 (2018 Q3) 
0008482: When you modify the active or required options of the custom field to confirm Testlink unchecks all custom fields
When you modify the active or required options of the custom field when you confirm the changes, all options selected from all custom fields are removed. If checked the options again and confirm the change uncheck all options
No tags attached.
png ima01.png (48,459) 2018-11-24 10:02

png ima02.png (60,394) 2018-11-24 10:03

png ima03.png (55,791) 2018-11-24 10:04

png ima04.png (54,851) 2018-11-24 10:06
Issue History
2018-11-21 11:39jdsmoreiraNew Issue
2018-11-21 11:42fmanNote Added: 0028249
2018-11-21 12:32jdsmoreiraNote Added: 0028250
2018-11-24 10:02fmanNote Added: 0028270
2018-11-24 10:02fmanFile Added: ima01.png
2018-11-24 10:03fmanNote Edited: 0028270bug_revision_view_page.php?bugnote_id=28270#r5647
2018-11-24 10:03fmanFile Added: ima02.png
2018-11-24 10:04fmanNote Edited: 0028270bug_revision_view_page.php?bugnote_id=28270#r5648
2018-11-24 10:04fmanFile Added: ima03.png
2018-11-24 10:05fmanNote Edited: 0028270bug_revision_view_page.php?bugnote_id=28270#r5649
2018-11-24 10:06fmanFile Added: ima04.png
2018-11-24 10:07fmanNote Edited: 0028270bug_revision_view_page.php?bugnote_id=28270#r5650
2018-11-24 10:07fmanQA Team - Task Workflow Status => TBD
2018-11-24 10:07fmanStatusnew => resolved
2018-11-24 10:07fmanResolutionopen => unable to reproduce
2018-11-24 10:07fmanAssigned To => fman
2018-11-24 10:08fmanNote Edited: 0028270bug_revision_view_page.php?bugnote_id=28270#r5651

2018-11-21 11:42   
Please provide very detailed steps to reproduce
2018-11-21 12:32   
I updated the database from version 1.9.14 to 1.9.18, after accessing TestLink I needed to put a custom field as required, by marking the same as required and clicking on the button Update active, required, monitorable all custom fields are deselected in the active and required options.

Access the Assign Custom Fields option;
Select the required option from any Custom fields then click the Update active, required, monitorable;
2018-11-24 10:02   
(edited on: 2018-11-24 10:08)
tested on latest code from Github

create custom field A
create custom field B
(see attached ima01)
assign custom fields feature (see attached ima02)
check CF A, and in CF A set required check
see ima03
click the Update active, required, monitorable;

everything as expected see ima04

if you do changes on CF B, everything is OK

TESTED on Chrome on MAC OS, PHP 7.2
TESTED on Firefox on MAC OS, PHP 7.2