SLING-9783 - The HTL compiler will trigger a NPE if a null value should be written into an HTML attribute

* checked if the passed values in the context of attributes are not null
* performed some Yoda comparisons in cases where attribute values could be null
* updated the io.sightly.tck which provides additional tests for attributes to which
null values can be passed
1 file changed
tree: 00c8dfa34219b06dd23aac16eb85ab2298b0ba5a
  1. src/
  2. .gitignore
  3. bnd.bnd
  4. CODE_OF_CONDUCT.md
  5. CONTRIBUTING.md
  6. Jenkinsfile
  7. LICENSE
  8. pom.xml
  9. README.md
README.md

Apache Sling

Build Status Coverage Sonarcloud Status JavaDoc Maven Central scripting License

Apache Sling Scripting HTL Integration Tests Content

This module is part of the Apache Sling project.

The embedded org.apache.sling.scripting.sightly.testing-content-crlf JAR provides testing content for SLING-5543 which can not be easily saved into SCM in a reliable way so that line endings are maintained without alteration.