MantisBT - TestLink
View Issue Details
0008853TestLinkCustom fieldspublic2020-01-22 10:152020-03-18 13:29
javerty 
fman 
normalmajoralways
resolvedfixed 
1.9.19 (2019 Q1) 
1.9.20_fixed 
MySQL
TBD
0008853: Custom fields not Import in Requirements Import
In TestLink 1.9.20 [DEV] (Raijin)
Custom fields attached to Requirement are not recognized in a Requirements Import.
Requirements are imported but with this message :

Value of Custom Field 'NomTitreLong' can not be imported because there is no Custom Field with this name and Available for Requirement on this Test Project
  * Create a Custom fields Available for Requirement Type String, Name "NomTitreLong" Label "NomTitreLong"
  * Add a requirement with a value for this Custom Field
  * Export this requirements in xml
  * Modify the name of this requirement in this XML file
  * Import this XML in Requirement Operations

Requirement is create but the custom field is not imported and there is a message :

Value of Custom Field 'NomTitreLong' can not be imported because there is no Custom Field with this name and Available for Requirement on this Test Project
True for Custom Field attached to Test Case with this message :

 Value of Custom Field 'CustomField' can not be imported because there is no Custom Field with this name and Available for Test Case on this Test Project
No tags attached.
png 2020-01-22 10_55_03-Window.png (54,731) 2020-01-22 10:17
http://mantis.testlink.org/file_download.php?file_id=5288&type=bug
png

xml ReqSuite1-child_req.xml (1,030) 2020-01-22 17:36
http://mantis.testlink.org/file_download.php?file_id=5289&type=bug
xml customFields.xml (1,605) 2020-01-23 10:04
http://mantis.testlink.org/file_download.php?file_id=5290&type=bug
Issue History
2020-01-22 10:15javertyNew Issue
2020-01-22 10:17javertyFile Added: 2020-01-22 10_55_03-Window.png
2020-01-22 12:01fmanNote Added: 0029450
2020-01-22 17:36javertyFile Added: ReqSuite1-child_req.xml
2020-01-22 21:51fmanNote Added: 0029451
2020-01-22 21:51fmanAssigned To => fman
2020-01-22 21:51fmanStatusnew => feedback
2020-01-23 10:04javertyFile Added: customFields.xml
2020-01-31 13:27javertyNote Added: 0029461
2020-01-31 13:27javertyStatusfeedback => assigned
2020-01-31 19:23fmanQA Team - Task Workflow Status => TBD
2020-01-31 19:23fmanProduct Version => 1.9.19 (2019 Q1)
2020-01-31 19:23fmanFixed in Version => 1.9.20_fixed
2020-01-31 19:25fmanNote Added: 0029462
2020-01-31 19:25fmanStatusassigned => feedback
2020-02-05 10:52fmanNote Added: 0029466
2020-03-13 10:52javertyNote Added: 0029538
2020-03-13 10:52javertyStatusfeedback => assigned
2020-03-18 13:29fmanStatusassigned => resolved
2020-03-18 13:29fmanResolutionopen => fixed

Notes
(0029450)
fman   
2020-01-22 12:01   
for import issues, the sample XML files to set the environment are a Must
(0029451)
fman   
2020-01-22 21:51   
please provide the CUSTOM FIELDS export in order to create same scenario here
(0029461)
javerty   
2020-01-31 13:27   
I provide the CUSTOM FIELDS export
(0029462)
fman   
2020-01-31 19:25   
here the fix
https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/4e3253b05fb768d66064ab64b49734e654260320 [^]
(0029466)
fman   
2020-02-05 10:52   
Please provide feedback
(0029538)
javerty   
2020-03-13 10:52   
Hi,
The bug is corrected for both types of import.
CUSTOM FIELDS are now imported.
Thanks a lot.