Freemarker - Report Invalid Tags

Description

It would be useful if the FreeMarker pcString tag were to report an error if a tag was not parsed, i.e. it was not a valid export tag. Ideally this would also stop output so that the errors could not be ignored.

Environment

None

Activity

Show:
James Dempsey
July 20, 2014, 3:18 PM

Both pcstring and pcboolean now will stop the output if an invalid tag is encountered. This highlighted some invalid tags in the existing base exports (unit test and normal pdf) which have now been fixed.

pcvar is not able to detect invalid syntax as it uses the variable system, which silently defaults any error responses to a 0 result.

Assignee

James Dempsey

Reporter

James Dempsey

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Components

Fix versions

Affects versions

Priority

Minor
Configure