You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2015/02/10 16:09:13 UTC
[jira] [Created] (SLING-4400) The Use-API should return a falsy
value if no Use-provider was able to solve the requested object
Radu Cotescu created SLING-4400:
-----------------------------------
Summary: The Use-API should return a falsy value if no Use-provider was able to solve the requested object
Key: SLING-4400
URL: https://issues.apache.org/jira/browse/SLING-4400
Project: Sling
Issue Type: Improvement
Components: Scripting
Reporter: Radu Cotescu
Assignee: Radu Cotescu
Priority: Minor
Fix For: Scripting Sightly Engine 1.0.0, Scripting Sightly JS Use Provider 1.0.0
In case no {{UseProvider}} can resolve an identifier the {{UseRuntimeExtension}} should just return a falsy value ({{null}} in this case) instead of throwing a SightlyException.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)