Project

General

Profile

Actions

Bug #24648

closed

Bug #24592: Allow technique id starting with a number

Parent ticket should also modify the bundle name of the technique in the metadata

Added by Félix DALLIDET 8 months ago. Updated 8 months ago.

Status:
Released
Priority:
N/A
Category:
rudderc
Target version:
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

Also available in: Atom PDF