Re: java.lang.UnsupportedOperationException in the Time component

2022-12-27 Thread Massimiliano Del Matto
Done. https://issues.apache.org/jira/projects/WW/issues/WW-5272?filter=allissues *Massimiliano Del Matto* Mobile +39 393 8797250 Cube Consultants S.r.l. Via Francesco Cangiullo, 24 - 00142 Roma Tel. +39 06 5200668 Fax +39 06 23327506 *Le informazioni contenute

Re: java.lang.UnsupportedOperationException in the Time component

2022-12-25 Thread Lukasz Lenart
pt., 23 gru 2022 o 12:42 Massimiliano Del Matto napisał(a): > > Might be ok for me. Would you mind registering an issue in JIRA? https://issues.apache.org/jira/browse/WW Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ --

Re: java.lang.UnsupportedOperationException in the Time component

2022-12-23 Thread Massimiliano Del Matto
Might be ok for me. Thank you! Massimiliano *Massimiliano Del Matto* Mobile +39 393 8797250 Cube Consultants S.r.l. Via Francesco Cangiullo, 24 - 00142 Roma Tel. +39 06 5200668 Fax +39 06 23327506 *Le informazioni contenute nella presente comunicazione e i rel

Re: java.lang.UnsupportedOperationException in the Time component

2022-12-23 Thread Lukasz Lenart
pt., 23 gru 2022 o 10:10 Massimiliano Del Matto napisał(a): > > java.sql.Time extends java.util.Date so when dateObject is java.sql.Time is > treated like an instanceof java.util.Date and toInstant() throws the > UnsupportedOperationException. > Also java.sql.Date extends java.util.Date and the fi

Re: java.lang.UnsupportedOperationException in the Time component

2022-12-23 Thread Massimiliano Del Matto
java.sql.Time extends java.util.Date so when dateObject is java.sql.Time is treated like an instanceof java.util.Date and toInstant() throws the UnsupportedOperationException. Also java.sql.Date extends java.util.Date and the fix in WW-5197 has been right the add of java.sql.Date: https://github.co

Re: java.lang.UnsupportedOperationException in the Time component

2022-12-22 Thread Lukasz Lenart
czw., 22 gru 2022 o 10:38 Massimiliano Del Matto napisał(a): > Error 12/22/2022 09:52:20:122 Caused by: > java.lang.UnsupportedOperationException > Error 12/22/2022 09:52:20:122 at java.sql.Time.toInstant(Time.java:291) > Error 12/22/2022 09:52:20:122 at > org.apache.struts2.components.Date.end(Da

Re: java.lang.UnsupportedOperationException in the Time component

2022-12-22 Thread Massimiliano Del Matto
Sorry, previously I posted the exception stacktrace as an image. Error 12/22/2022 09:52:20:122 Caused by: java.lang.UnsupportedOperationException Error 12/22/2022 09:52:20:122 at java.sql.Time.toInstant(Time.java:291) Error 12/22/2022 09:52:20:122 at org.apache.struts2.components.Date.end(Date.jav

Re: java.lang.UnsupportedOperationException in the Time component

2022-12-21 Thread Lukasz Lenart
śr., 21 gru 2022 o 17:41 Massimiliano Del Matto < massimiliano.delma...@cubemail.it> napisał(a): > We are facing a java.lang.UnsupportedOperationException on some > java.sql.Time fields in our frontend after migrating from 2.5.26 to 6.0.3, > the same as reported in https://issues.apache.org/jira/b

java.lang.UnsupportedOperationException in the Time component

2022-12-21 Thread Massimiliano Del Matto
We are facing a java.lang.UnsupportedOperationException on some java.sql.Time fields in our frontend after migrating from 2.5.26 to 6.0.3, the same as reported in https://issues.apache.org/jira/browse/WW-5197 (on java.sql.Time instead of java.sql.Date). Maybe the same fix should be done in org.apac