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/20 20:36:11 UTC
[jira] [Comment Edited] (SLING-4448) Make the RenderUnitProvider
fail loudly if the provided identifier does not resolve to a script
[ https://issues.apache.org/jira/browse/SLING-4448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329412#comment-14329412 ]
Radu Cotescu edited comment on SLING-4448 at 2/20/15 7:35 PM:
--------------------------------------------------------------
Fixed in revision [r1661199|https://svn.apache.org/viewvc?view=revision&revision=1661199].
was (Author: radu.cotescu):
Fixed in revision [r1661012|https://svn.apache.org/viewvc?view=revision&revision=1661012].
> Make the RenderUnitProvider fail loudly if the provided identifier does not resolve to a script
> -----------------------------------------------------------------------------------------------
>
> Key: SLING-4448
> URL: https://issues.apache.org/jira/browse/SLING-4448
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Affects Versions: Scripting Sightly Engine 1.0.0
> Reporter: Radu Cotescu
> Assignee: Radu Cotescu
> Fix For: Scripting Sightly Engine 1.0.0
>
>
> Currently the {{RenderUnitProvider}} fails "silently" if the identifier does not resolve to an existing script. Instead the {{RenderUnitProvider}} should return a {{ProviderOutcome}} with an explicit failure cause such that the Use-API fails loudly without having to query the other {{UseProvider}} services.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)