[
https://issues.apache.org/jira/browse/WW-5197?focusedWorklogId=788587&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-788587
]
ASF GitHub Bot logged work on WW-5197:
--------------------------------------
Author: ASF GitHub Bot
Created on: 07/Jul/22 12:06
Start Date: 07/Jul/22 12:06
Worklog Time Spent: 10m
Work Description: lukaszlenart merged PR #574:
URL: https://github.com/apache/struts/pull/574
Issue Time Tracking
-------------------
Worklog Id: (was: 788587)
Time Spent: 1h 20m (was: 1h 10m)
> java.lang.UnsupportedOperationException in the date component
> -------------------------------------------------------------
>
> Key: WW-5197
> URL: https://issues.apache.org/jira/browse/WW-5197
> Project: Struts 2
> Issue Type: Bug
> Components: Core Tags
> Affects Versions: 6.0.0
> Reporter: Tobias Stadler
> Priority: Major
> Fix For: 6.0.1
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> We (ab)use {{java.sql.Date}} in our frontends and see the following stack
> trace when trying to upgrade to 6.0.0:
> {noformat}
> java.lang.UnsupportedOperationException
> at java.sql.Date.toInstant(Date.java:304) ~[?:1.8.0_332]
> at org.apache.struts2.components.Date.end(Date.java:297)
> ~[struts2-core-6.0.0.jar:6.0.0]
> at
> org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:40)
> ~[struts2-core-6.0.0.jar:6.0.0]
> ...
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)