[
https://issues.apache.org/jira/browse/WW-5175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17515857#comment-17515857
]
Greg Huber edited comment on WW-5175 at 4/1/22 10:58 AM:
---------------------------------------------------------
now the devMode logs are flooded with these :(
2022-04-01 11:24:11,730 WARN
com.opensymphony.xwork2.util.AbstractLocalizedTextProvider
AbstractLocalizedTextProvider:findDefaultText - Missing key
[struts.date.format] in bundles [[ApplicationResources,
org/apache/struts2/struts-messages, com/opensymphony/xwork2/xwork-messages]]!
Would this be OK to suppress these? Have an empty property and an empty check?
{code:java}
ApplicationResources.properties
# Suppress messages
struts.date.format=
DateConverter:
if (globalFormat != null && !"".equals(globalFormat) &&
!dateTagProperty.equals(globalFormat)) {
LOG.debug("Found \"{}\" as \"{}\"", dateTagProperty, globalFormat);
globalDateString = globalFormat;
} else {
LOG.debug("\"{}\" has not been defined, ignoring it", dateTagProperty);
}
{code}
was (Author: gregh99):
now the devMode logs are flooded with these :(
2022-04-01 11:24:11,730 WARN
com.opensymphony.xwork2.util.AbstractLocalizedTextProvider
AbstractLocalizedTextProvider:findDefaultText - Missing key
[struts.date.format] in bundles [[ApplicationResources,
org/apache/struts2/struts-messages, com/opensymphony/xwork2/xwork-messages]]!
Would this be OK to suppress these? Have an empty property and an empty check?
{code:java}
ApplicationResources.properties
# Suppress messages
struts.date.format=
DateConverter:
if (globalFormat != null && !"".equals(globalFormat) &&
!dateTagProperty.equals(globalFormat)) {
LOG.debug("Found \"{}\" as \"{}\"", dateTagProperty, globalFormat);
globalDateString = globalFormat;
} else {
LOG.debug("\"{}\" has not been defined, ignoring it", dateTagProperty);
}
{code}
> 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)