You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2021/12/17 08:14:00 UTC

[jira] [Commented] (WW-5160) Template not found for name "Empty{name='templateDir'}/simple/hidden.ftl"

    [ https://issues.apache.org/jira/browse/WW-5160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17461267#comment-17461267 ] 

Lukasz Lenart commented on WW-5160:
-----------------------------------

It's related to WW-5117 as right now action is the top most object on the value stack and {{parameters}} are evaluated against it - why your action exposes {{getParameters}} (this is the core problem here)?

> Template not found for name "Empty{name='templateDir'}/simple/hidden.ftl"
> -------------------------------------------------------------------------
>
>                 Key: WW-5160
>                 URL: https://issues.apache.org/jira/browse/WW-5160
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.5.27, 2.5.28
>         Environment: *Java:* 1.8.0_282
>  
>            Reporter: Eduardo Quintanilla
>            Priority: Major
>             Fix For: 2.6, 2.5.29
>
>         Attachments: sample.zip, struts.log
>
>
> After updating from Struts 2.5.26 to 2.5.27 or 2.5.28 an exception happens of Template not found for name "Empty\{name='templateDir'}/simple/hidden.ftl"
>  
>  # Run sample
>  # Navigate to /app-example/test.action



--
This message was sent by Atlassian Jira
(v8.20.1#820001)