Description
The v2.0 engine throws a ParseErrorException for macro calls like:
#macro(printCertificateToggleRow $keyName, $summary, $certificateDetails, $cssSummary) #printToggleAccordionDataCSS( "#printLabelValue($keyName, $summary)", "#printCertificateDetails($certificateDetails)", "", $cssSummary, "", "" ) #end
It seems, that the closing round parenthesis has a problem with the line break (0x0D0A). It works, if the closing parenthesis stands right behind the last parameter.
Exception (partly):
Caused by: org.apache.velocity.exception.ParseErrorException: Encountered ")" at html/inspectionsheet_html_macros.vm[line 69, column 5] Was expecting one of: "," ... "##" ... <WHITESPACE> ... <NEWLINE> ...
Attachments
Issue Links
- is duplicated by
-
VELOCITY-893 Calling macro with closing brace on newline throws ParseErrorException
- Closed