Actions
Bug #4674
closedWhen modifying a directive based on a meta-technique with multivalued section with same component key, the duplicated component keys are removed
Status:
Released
Priority:
1 (highest)
Assignee:
-
Category:
Web - Compliance & node report
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
with a metatechnique that has 4 component key identical in a section, for instance
<SECTION component="true" multuvalued="true" name="File replace line"> <REPORTKEYS> <VALUE>${grub.knowledge.fstab_path}</VALUE> <VALUE>${grub.knowledge.fstab_path}</VALUE> <VALUE>${grub.knowledge.fstab_path}</VALUE> <VALUE>${grub.knowledge.fstab_path}</VALUE> </REPORTKEYS> </SECTION>
once loaded in the web interface, it transforms into 4 sections with one key in the Change request screen
When we create the directive, it is fine, but when we update the directive, it becomes
<section name="File replace line"> <var name="expectedReportKey File replace lines"> ${grub.knowledge.fstab_path} </var> </section>
and the 3 others sections are dropped (as seen in the change request or event log)
then, report is unknown
Actions