AEM 6.5 Navigation Core Component throws Sigthly Exception Operands are not of the same type: comparison is supported for Number types only.
I have to display the navigation items based on user entity tags. So i have decided to extend the Core component Navigation model and filter those results.
But i get this error with the core Navigation component. I believe the error is in the below line
data-sly-test.hascontent="${navigation.items.size > 0}"
Any suggestions or fixes?
Stacktrace:
Caused by: org.apache.sling.scripting.sightly.compiler.SightlyCompilerException: Operands are not of the same type: comparison is supported for Number types only.

