Actions
Bug #24648
closedBug #24592: Allow technique id starting with a number
Parent ticket should also modify the bundle name of the technique in the metadata
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
The ticket did change the bundle name, but the metadata was not updated as well, leading to incorrect directive sequence.
From a technique named 'Happy testing day! ≽^•⩊•^≼', the bundle name generated is:
function Technique-Happy-Testing-Day---------- { [CmdletBinding()] param ( [parameter(Mandatory = $true)] [string]$reportId,
The following metadata is generated:
<TECHNIQUE name="Happy testing day! ≽^•⩊•^≼"> <DESCRIPTION>Happy testing day! ≽^•⩊•^≼</DESCRIPTION> <USEMETHODREPORTING>true</USEMETHODREPORTING> <MULTIINSTANCE>true</MULTIINSTANCE> <POLICYGENERATION>separated-with-parameters</POLICYGENERATION> <AGENT type="cfengine-community"> <BUNDLES> <NAME>happy_testing_day__________</NAME> </BUNDLES> <FILES> <FILE name="technique.cf">
The generated bundle should be technique_happy_testing_day__________
instead.
Actions