RemoveDuplicatedFields
* 
For a general, step-by-step guide on using the corrector module, see Using the Data Inconsistency Corrector Module.
Description
This correction detects duplicated fields in a tracker and automatically deletes them.
In Codebeamer, trackers contain fields, which contain items relevant to that tracker. Errors may sometimes cause the same field to appear multiple times within the same tracker. All fields in Codebeamer have a unique ID, which is used by this correction to find duplicated fields in trackers.
Clicking Restore keeps one instance of each field and deletes all other copies of those fields from the tracker, that is, all other fields with the same unique ID in the same tracker.
Report Table
The report table for the RemoveDuplicatedFields correction is named remove_duplicated_field_report_table. It contains the following information:
Column
Description
id
The ID number for the detected issue.
Detected issues are numbered, starting at 1.
project_id
The ID of the project that contains the tracker where the issue was detected.
project_name
The name of the project that contains the tracker where the issue was detected.
tracker_id
The ID of the tracker where the issue was detected.
tracker_name
The name of the tracker where the issue was detected.
field_object_id
The global ID of the duplicated field.
This ID is used to differentiate between copies of the same field. Copies of the same field have the same field_reference_id, but different field_object_ids.
For example, a derived tracker contains fields inherited from its template tracker. In this case, the fields in the derived tracker have the same field_reference_id as the corresponding fields in the template tracker, but they have different field_object_ids.
Similarly, duplicates of a field caused by errors have the same field_reference_id, but they have different field_object_ids.
* 
In the report table generated by the RemoveInvalidReferenceFilters correction, this is called the object_id.
In the report table generated by the ReferenceFilterUnifier correction, this is called the field_id.
field_name
The name of the duplicated field.
This appears multiple times in the report table due to the field being duplicated.
field_reference_id
The unique ID of the duplicated field.
This appears multiple times in the report table due to the field being duplicated.
* 
In the report table generated by the DuplicatedReferences correction, this is called the label_id.
flag
The flagged status of the issue, which can be 0 or 1. Clicking Restore corrects issues with a flagged status of 1.
For this correction, the flagged status of detected issues is set to 0 by default. This means that detected issues are not automatically corrected by clicking Restore.
The user must decide which duplicated field to delete.
To delete a duplicated field:
1. Decide which field to delete.
2. Manually set the flagged status of that field to 1 in the report table.
3. Click Restore.
For more information, see the Flagging and Processing Inconsistencies page on the Codebeamer Help Center.
processed
The processed status of the issue, which can be 0 or 1.
For more information, see the Flagging and Processing Inconsistencies page on the Codebeamer Help Center.
Was this helpful?