-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
4.8.0 M8
Today if you call AmetysXSLTHelper.hasValue('', 'toto'), you get
java.lang.NullPointerException: Cannot invoke "String.indexOf(String)" because "id" is null
at org.ametys.plugins.repository.AmetysObjectResolver#resolveById:302
at org.ametys.cms.transformation.xslt.AmetysXSLTHelper#hasValue:245
We could add a test before try to resolve in order to not add this test on XSL.