Actions
Bug #20415
closedThe technique editor allows saving methods with missing parameters
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Technique editor
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
This leads to useless error messages for the user:
Error when saving technique: The server had a problem, try again later
and an error log in the webapp:
[2021-12-14 13:03:18+0000] ERROR techniques.writer - An error occurred when compiling technique 'Inventory hook for updates' (id : 'BundleName(Inventory_hook_for_updates)') with rudderc, error details in /var/log/rudder/rudderc/failures/2021-12-14T13:03:18.901Z_Inventory_hook_for_updates.log, falling back to old saving process Fiber failed. An unchecked error was produced. com.normation.cfclerk.xmlparsers.EmptyReportKeysValue: In 'expectedReportKey File from local source', the element REPORTKEYS must have a non empty list of provided values: <REPORTKEYS><VALUE>val foo</VALUE><VALUE>... at com.normation.cfclerk.domain.SectionVariableSpec$.apply(VariableAndSectionSpec.scala:410) at com.normation.cfclerk.xmlparsers.VariableSpecParser.parseSectionVariableSpec(VariableSpecParser.scala:134) at com.normation.cfclerk.xmlparsers.SectionSpecParser.parseOneVariable$1(SectionSpecParser.scala:192) at com.normation.cfclerk.xmlparsers.SectionSpecParser.$anonfun$parseChildren$4(SectionSpecParser.scala:205) at cats.data.Chain$.$anonfun$traverseViaChain$1(Chain.scala:797) at cats.Later.value$lzycompute(Eval.scala:148)
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 7.0.0~rc2 to 7.0.0~rc3
Updated by Elaad FURREEDAN about 3 years ago
- Status changed from New to In progress
- Assignee set to Elaad FURREEDAN
Updated by Elaad FURREEDAN almost 3 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Elaad FURREEDAN to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder/pull/4073
Updated by Anonymous almost 3 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|e4b357d89713bef17b287e62a6cb4eadfa819455.
Updated by Vincent MEMBRÉ almost 3 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.0.0~rc3 which was released today.
Actions