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/12 15:18:11 UTC

[jira] [Resolved] (SLING-4400) The Use-API should return a falsy value if no Use-provider was able to solve the requested object

     [ https://issues.apache.org/jira/browse/SLING-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radu Cotescu resolved SLING-4400.
---------------------------------
    Resolution: Fixed

> 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)