Skip to content

FreeMarker exception handling is erroneous for parsing errors [SPR-279] #5010

@spring-projects-issues

Description

@spring-projects-issues

Darren Davison opened SPR-279 and commented

Initial parsing and loading of templates with parsing errors causes Spring to swallow or wrap the exception, reporting instead a generic template loading exception. If template is fixed and then re-broken, Spring reports the correct FreeMarker exception. The issue causes problems for debugging of faulty FTL files.


Affects: 1.1 RC2

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions