You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/07/07 12:07:00 UTC

[jira] [Commented] (WW-5197) java.lang.UnsupportedOperationException in the date component

    [ https://issues.apache.org/jira/browse/WW-5197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17563746#comment-17563746 ] 

ASF subversion and git services commented on WW-5197:
-----------------------------------------------------

Commit 61ded9a3e7e282bcb9096ca5b3c859c8b45546fa in struts's branch refs/heads/master from Tobias Stadler
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=61ded9a3e ]

WW-5197 Adds support for java.sql.Date


> 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)