Actions
User story #2424
closedDuplicate identical sections can be input in directives causing broken reporting
Status:
Resolved
Priority:
3
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:
Description
As discovered in #2398, it is possible to create a Policy Instance (PI) in Rudder with multi-valued sections and identical content in two sections. This has no purpose, and causes confusion and errors in reporting.
This is a meta-ticket to cover the two successive steps that we are going to implement to work around this problem:- is for the 2.3 branch and will silently drop any duplicated sections. This could be confusing for the user, but will avoid breaking reporting, and is in effect not deleting any data since we delete only an exact copy of existing data. This is a "quick win"...
- is for the 2.4 branch and will warn the user he's input a duplicate section and ask him what to do. This takes a bit longer, which is why we're considering 1 first.
Actions