-
Bug
-
Resolution: Fixed
-
Blocker
-
4.8.0
-
None
-
None
-
4.8.0 M7
Global validators doesn't managed UntouchedValue, it can fails as a ClassCastException, like in LongIntervalValidator for example:
Caused by: java.lang.ClassCastException: class org.ametys.plugins.repository.data.holder.values.UntouchedValue cannot be cast to class java.lang.Long (org.ametys.plugins.repository.data.holder.values.UntouchedValue is in unnamed module of loader 'app'; java.lang.Long is in module java.base of loader 'bootstrap') at org.ametys.cms.contenttype.validation.LongIntervalValidator.isLessThan(LongIntervalValidator.java:23) at org.ametys.cms.contenttype.validation.AbstractIntervalValidator._validateInterval(AbstractIntervalValidator.java:132) at org.ametys.cms.contenttype.validation.AbstractIntervalValidator.validate(AbstractIntervalValidator.java:173) at org.ametys.cms.workflow.EditContentFunction.globalValidate(EditContentFunction.java:1058)
- Est référencé par
-
CMS-11888 Change the behaviour of interval validators
- Closed