[
https://issues.apache.org/jira/browse/WW-5379?focusedWorklogId=897289&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-897289
]
ASF GitHub Bot logged work on WW-5379:
--------------------------------------
Author: ASF GitHub Bot
Created on: 27/Dec/23 21:38
Start Date: 27/Dec/23 21:38
Worklog Time Spent: 10m
Work Description: kusalk commented on code in PR #822:
URL: https://github.com/apache/struts/pull/822#discussion_r1437263013
##########
plugins/velocity/src/main/java/org/apache/struts2/views/velocity/StrutsVelocityContext.java:
##########
@@ -96,11 +96,15 @@ protected Object chainedContextGet(String key) {
return null;
}
for (VelocityContext chainedContext : chainedContexts) {
- Object val = chainedContext.internalGet(key);
+ Object val = chainedContext.get(key);
Review Comment:
Was technically a bug as we were failing to look at chained contexts within
our chained contexts
Issue Time Tracking
-------------------
Worklog Id: (was: 897289)
Time Spent: 1h (was: 50m)
> Implement alternative mechanism for Velocity directives to obtain stack
> -----------------------------------------------------------------------
>
> Key: WW-5379
> URL: https://issues.apache.org/jira/browse/WW-5379
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Velocity
> Reporter: Kusal Kithul-Godage
> Priority: Minor
> Fix For: 6.4.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)