Project

General

Profile

Bug #7108

Rules are not serialized correctly anymore

Added by Nicolas CHARLES over 5 years ago. Updated over 5 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
User visibility:
Effort required:
Priority:

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

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

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
#1

Updated by Nicolas CHARLES over 5 years ago

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

Updated by Nicolas CHARLES over 5 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
#3

Updated by Nicolas CHARLES over 5 years ago

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

Updated by Vincent MEMBRÉ over 5 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.

Also available in: Atom PDF