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)