Project

General

Profile

Actions

Bug #17907

open

Error in popup when trying to disable an active technique

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

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - UI & UX
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

If a technique has directives is applied in enabled rules, we have an error in the popup when trying to disable it

Can not find dependencies. Can not build tree of dependencies for Technique ActiveTechniqueId(4d13880e-7e2a-4ac0-85ef-aeabdc9b9c45)

cause is within filterRules
the ruleTargets in the groupLib.allTargets is of the form

PolicyServerTarget(NodeId(root)), GroupTarget(NodeGroupId(34e8f886-a25f-4b34-b877-d105206959be)), AllNodesWithoutRole, GroupTarget(NodeGroupId(a4314db4-7fb3-4bae-b270-24d70f21ef5a)), GroupTarget(NodeGroupId(037aacb9-e3e2-45ef-a72b-65b612185f1e)), 

yet the targets.target of the rule has the format
{"include":{"or":["group:5d22bfb4-d422-4ed2-a732-a7500adbeef3"]},"exclude":{"or":[]}}
(a CompositeRuleTarget)

so it cannot match

I doesn't break, but it is not very nice


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #17906: Error when trying to enable a disabled Technique in the technique treeReleasedFrançois ARMANDActions
Actions

Also available in: Atom PDF