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.
Updated by Alexis Mousset 9 months ago
- Status changed from New to In progress
- Assignee set to Alexis Mousset
Updated by Alexis Mousset 9 months ago
- Status changed from In progress to Pending release
Applied in changeset rudder|b538ad5166885086c396b1f1306cac88969aef88.
Updated by Vincent MEMBRÉ 9 months ago
- Status changed from Pending release to Released
Actions