Project

General

Profile

Actions

Bug #2139

closed

When a componentKey on a policy.xml designates a variable outside the section, you get an erroneous error message in the logs

Added by Matthieu CERDA almost 13 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
3
Assignee:
-
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When a componentKey on a policy.xml designates a variable outside the section, you get an erroneous error message in the logs

Example:

<SECTION name="Permission adjustment" component="true" componentKey="GENERIC_FILE_CONTENT_PATH"> (Which was specified before)

Error:

16:03:59.056 [qtp1938822199-72] ERROR c.n.c.s.impl.GitPolicyPackagesReader - Ignoring policy package '/fileDistribution/checkGenericFileContent/2.1/policy.xml' because the descriptor file is malformed
com.normation.cfclerk.exceptions.ParsingException: Section 'Line deletion regular expressions' is multivalued and is component. A componentKey attribute must be specified
Actions

Also available in: Atom PDF