Project

General

Profile

Actions

Bug #10946

closed

User story #8438: Log check-rudder-agent cron job output

Error at generation because of unescaped & in rudder_agent_community_cron.st

Added by Nicolas CHARLES almost 7 years ago. Updated almost 7 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
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)
...


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #11044: Wrong stderr / stdout redirection of logs from rudder agent check in 4.1ReleasedBenoît PECCATTEActions
Actions

Also available in: Atom PDF