[
https://issues.apache.org/jira/browse/WW-5175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17515824#comment-17515824
]
Greg Huber edited comment on WW-5175 at 4/1/22 9:35 AM:
--------------------------------------------------------
Well I went back to 2.5.30 and the logic for getGlobalDateFormat() and
findProviderInStack(ValueStack stack) is not there. Was introduced in WW-4799.
So might be a bogus message.
context.getValueStack(), the context is an ognl.OgnlContext@c72318fe so may not
have a valuestack?
To fix it:
ParametersInterceptor
//keep locale from original context
newStack.getActionContext().withLocale(stack.getActionContext().getLocale());
needs : .withValueStack(stack);
newStack.getActionContext().withLocale(stack.getActionContext().getLocale()).withValueStack(stack);
was (Author: gregh99):
Well I went back to 2.5.30 and the logic for getGlobalDateFormat() and
findProviderInStack(ValueStack stack) is not there. Was introduced in WW-4799.
So might be a bogus message.
context.getValueStack(), the context is an ognl.OgnlContext@c72318fe so may not
have a valuestack?
> Add basic LocalDateTime support
> -------------------------------
>
> Key: WW-5175
> URL: https://issues.apache.org/jira/browse/WW-5175
> Project: Struts 2
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.5.29
> Reporter: Greg Huber
> Priority: Minor
> Fix For: 2.6
>
>
> Add basic LocalDateTime support ie for the LocalDateTime.now().
--
This message was sent by Atlassian Jira
(v8.20.1#820001)