Project

General

Profile

Actions

Bug #7108

closed

Rules are not serialized correctly anymore

Added by Nicolas CHARLES about 9 years ago. Updated about 9 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Since we added exclusion in rules, the Rules are not correctly serialized in the Rules table (specifically, the targets are not saved anymore)

Issue is:
the targets are "TargetExclusion", but we only match GroupTarget, so we never catch the object, and don't have proper serialisation anymore
This may deserve a new datamodel to properly store these data :(


Subtasks 2 (0 open2 closed)

Bug #7133: Create the migration script for the database to correct the serialization of groups in the rulesReleasedMatthieu CERDA2015-08-26Actions
Bug #7229: Missing category id in Rule tablesReleasedFrançois ARMAND2015-09-25Actions

Related issues 1 (0 open1 closed)

Related to Rudder - User story #4505: Allow exclusion and composition of groups to gain more flexibility in Nodes targeted by a RuleReleasedVincent MEMBRÉ2014-02-24Actions
Actions #1

Updated by Nicolas CHARLES about 9 years ago

  • Related to User story #4505: Allow exclusion and composition of groups to gain more flexibility in Nodes targeted by a Rule added
Actions #2

Updated by Nicolas CHARLES about 9 years ago

  • Status changed from New to Pending technical review
  • Assignee set to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/919/files
Actions #3

Updated by Nicolas CHARLES about 9 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #5

Updated by Vincent MEMBRÉ about 9 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.17, 2.11.14, 3.0.9 and 3.1.2 which were released today.

Actions

Also available in: Atom PDF