Radu Cotescu created SLING-5978:
-----------------------------------
Summary: Make Sightly throw compilation errors when unknown
data-sly-* plugins are used
Key: SLING-5978
URL: https://issues.apache.org/jira/browse/SLING-5978
Project: Sling
Issue Type: Bug
Components: Scripting
Affects Versions: Scripting Sightly Compiler 1.0.0
Reporter: Radu Cotescu
Assignee: Radu Cotescu
Priority: Minor
The current version of the {{MarkupHandler#obtainPlugin}} \[0\] method throws
an {{UnsupportedOperationException}} whenever an unknown {{data-sly-*}} plugin
is used. Instead, the method should just generate an error in the AST stream.
\[0\] -
https://github.com/apache/sling/blob/1aa2c8be782ecb858de9030501e67edc4aba1357/bundles/scripting/sightly/compiler/src/main/java/org/apache/sling/scripting/sightly/impl/html/dom/MarkupHandler.java#L403
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)