-
Bug
-
Resolution: Fixed
-
Blocker
-
4.4.0
-
None
-
None
-
4.4 RC1
How to reproduce
- Create a news
- Edit it
- Try to save (with or without filling date fields)
The global validator failed with the following error:
class org.ametys.plugins.repository.data.holder.values.SynchronizableValue cannot be cast to class java.time.ZonedDateTime (org.ametys.plugins.repository.data.holder.values.SynchronizableValue is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @6c67e137; java.time.ZonedDateTime is in module java.base of loader 'bootstrap' java.lang.ClassCastException: class org.ametys.plugins.repository.data.holder.values.SynchronizableValue cannot be cast to class java.time.ZonedDateTime (org.ametys.plugins.repository.data.holder.values.SynchronizableValue is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @6c67e137; java.time.ZonedDateTime is in module java.base of loader 'bootstrap') at org.ametys.cms.contenttype.validation.DateTimeIntervalValidator.isLessThan(DateTimeIntervalValidator.java:46) at org.ametys.cms.contenttype.validation.AbstractIntervalValidator._validateInterval(AbstractIntervalValidator.java:129) at org.ametys.cms.contenttype.validation.AbstractIntervalValidator.validate(AbstractIntervalValidator.java:170) at org.ametys.cms.workflow.EditContentFunction.globalValidate(EditContentFunction.java:992) at org.ametys.cms.workflow.EditContentFunction.execute(EditContentFunction.java:252)
- created
-
CMS-10683 [EditContentFunction] Unable to delete attribute comments
-
- Closed
-