Marvin Flock created SLING-10111: ------------------------------------ Summary: data-sly-test: redundant constant value comparison Key: SLING-10111 URL: https://issues.apache.org/jira/browse/SLING-10111 Project: Sling Issue Type: Bug Components: Maven Plugins and Archetypes Affects Versions: HTL Maven Plugin 2.0.2-1.4.0 Reporter: Marvin Flock
The HTL-Maven-Plugin (when set with _failOnWarnings = true_) is failing with warnings like these: _data-sly-test: redundant constant value comparison_ Problem is, this message is not giving a lot of insight, why it is failing. e.g.: I have a snippet like this: _data-sly-test=${object.property}_ It fails with the mentioned warning and I am fishing in the dark. It is a valid test, it checks _object.property_ for _null_, right? Is it maybe a false positive? -- This message was sent by Atlassian Jira (v8.3.4#803005)