Actions
Bug #10304
closedBroken variable expression when using node properties in the technique editor
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Technique editor
Target version:
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Small
Priority:
56
Name check:
Fix check:
Regression:
Description
Whenever we use a node property in the technique editor inside a method like command, result classes contain a broken variable expression. Once we execute generated directive we encounter this error message:
error: Broken variable expression, index brackets do not balance, in 'node.properties[ENV_'
Updated by Benoît PECCATTE almost 8 years ago
- Category set to Web - Technique editor
Updated by François ARMAND almost 8 years ago
- Severity set to Major - prevents use of part of Rudder | no simple workaround
- User visibility set to Operational - other Techniques | Technique editor | Rudder settings
Updated by Nicolas CHARLES over 7 years ago
- Effort required set to Small
- Priority changed from 36 to 44
effort seems quite small, it's only the regex
regex = re.compile("[^\$\{\}a-zA-Z0-9_](?![^{}]+})|\$(?!{)")
in tools/ncf_rudder.py to change
someone competend in regex could fix it pretty easily
Updated by Nicolas CHARLES over 7 years ago
- Related to Bug #8586: Wrong definition of class condition if we use a variable with [ ] in it added
Updated by Nicolas CHARLES about 7 years ago
- Related to Bug #11600: Result class containing {} are not properly canonized added
Updated by Benoît PECCATTE almost 7 years ago
- Target version set to 4.1.10
- Priority changed from 60 to 57
Updated by Benoît PECCATTE almost 7 years ago
- Status changed from New to In progress
- Assignee set to Benoît PECCATTE
Updated by Benoît PECCATTE almost 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/ncf/pull/696
Updated by Rudder Quality Assistant almost 7 years ago
- Assignee changed from Vincent MEMBRÉ to Benoît PECCATTE
Updated by Benoît PECCATTE almost 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset ncf:commit:4ec79bb68c0b9e58be83a1a35d2d26a8d69d910a.
Updated by Vincent MEMBRÉ almost 7 years ago
- Status changed from Pending release to Released
- Priority changed from 57 to 56
This bug has been fixed in Rudder 4.1.10 and 4.2.4 which were released today.
- 4.1.10: Announce Changelog
- 4.2.4: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Actions