Actions
Bug #10946
closedUser story #8438: Log check-rudder-agent cron job output
Error at generation because of unescaped & in rudder_agent_community_cron.st
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
Parent ticket introduced a typo in rudder_agent_community_cron.st, with an unescaped &
error is
problem parsing template 'anonymous' line 9:1: expecting '&', found '<EOF>' at com.normation.stringtemplate.language.NormationAmpersandTemplateLexer.nextToken(NormationAmpersandTemplateLexer.java:144) at antlr.TokenBuffer.fill(TokenBuffer.java:69) at antlr.TokenBuffer.LA(TokenBuffer.java:80) at antlr.LLkParser.LA(LLkParser.java:52) at org.antlr.stringtemplate.language.TemplateParser.template(TemplateParser.java:103) at org.antlr.stringtemplate.StringTemplate.breakTemplateIntoChunks(StringTemplate.java:850) at org.antlr.stringtemplate.StringTemplate.setTemplate(StringTemplate.java:441) at org.antlr.stringtemplate.StringTemplate.<init>(StringTemplate.java:299) at com.normation.cfclerk.services.impl.Cf3PromisesFileWriterServiceImpl$$anonfun$writePromisesFiles$1.apply(Cf3PromisesFileWriterServiceImpl.scala:211) ...
Updated by Nicolas CHARLES over 7 years ago
- Status changed from New to In progress
Updated by Nicolas CHARLES over 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/1154
Updated by Alexis Mousset over 7 years ago
- Target version changed from 3.1.22 to 3.1.21
Updated by Alexis Mousset over 7 years ago
- Subject changed from Error at generation because of unescaped & in rdder_agent_community_cron.st to Error at generation because of unescaped & in rudder_agent_community_cron.st
Updated by Nicolas CHARLES over 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-techniques|c72458aa36da18e6e68e32e22de803891bea9269.
Updated by Alexis Mousset over 7 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.1.21 which was released today.
- 3.1.21: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Nicolas CHARLES over 7 years ago
Interrestingly, the behavior is not the same in 3.1 and 4.1:
- in 3.1, the \ is mandatory
- in 4.1, \& appear in the cron template file
Updated by Nicolas CHARLES over 7 years ago
- Related to Bug #11044: Wrong stderr / stdout redirection of logs from rudder agent check in 4.1 added
Actions