[
https://issues.apache.org/jira/browse/WW-5160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17462990#comment-17462990
]
James Chaplin commented on WW-5160:
-----------------------------------
Hi [~lukaszlenart] .
After looking at the behaviour, using the reproducer (thanks for providing
that, [~Eduardo Quintanilla] ), it does not look like there is any simple way
to avoid the issue/collision when a _getParameters_ method exists in an action.
Maybe the tag model object should return to the top of the stack by default (as
it was prior to the behaviour change in 2.5.27), but there could be a global
opt-in configuration flag to allow a developer to have the action go to the top
of the stack ? Other than a global flag, maybe a new tag could be introduced
that could specify/control that stack ordering (for any tags declared within
its body) ?
(Those ideas are assuming that you think the WW-5117 fix behaviour should
remain at all, based on your comment above).
> 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)