[ 
https://issues.apache.org/jira/browse/WW-5197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart updated WW-5197:
------------------------------
    Fix Version/s: 6.0.1

> 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
>
>
> 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.7#820007)

Reply via email to