Project

General

Profile

Actions

User story #2424

closed

Duplicate identical sections can be input in directives causing broken reporting

Added by Jonathan CLARKE about 12 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
3
Category:
Web - Config management
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:
  1. 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"...
  2. 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.

Subtasks 2 (0 open2 closed)

User story #2425: Silently drop duplicated identical sections when saving a PIReleasedFrançois ARMAND2012-04-10Actions
Architecture #2426: Warn user about duplicated sections when saving a DirectiveBacklogActions
Actions

Also available in: Atom PDF