Actions
Bug #2139
closedWhen a componentKey on a policy.xml designates a variable outside the section, you get an erroneous error message in the logs
Pull Request:
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