You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "PuzanovsP (Jira)" <ji...@apache.org> on 2022/06/03 08:34:00 UTC
[jira] [Created] (SLING-11374) Sightly:: Improve exception details :: Operands are not of the same type: error
PuzanovsP created SLING-11374:
---------------------------------
Summary: Sightly:: Improve exception details :: Operands are not of the same type: error
Key: SLING-11374
URL: https://issues.apache.org/jira/browse/SLING-11374
Project: Sling
Issue Type: Bug
Components: HTL
Reporter: PuzanovsP
When exception occurs:
org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: Operands are not of the same type: the equality operator can only be applied to String, Number and Boolean types.
Please improve the log and tell us actually which property mismatched and which type it had.
---------------
When we try to compare Long with Number would be great if it worked actually and not failed with this error.
Thanks a lot!
--
This message was sent by Atlassian Jira
(v8.20.7#820007)