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 2016/02/29 14:23:18 UTC

[jira] [Comment Edited] (SLING-5568) Sightly filters don't remove their specific options from the expression during processing

    [ https://issues.apache.org/jira/browse/SLING-5568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15171646#comment-15171646 ] 

Radu Cotescu edited comment on SLING-5568 at 2/29/16 1:23 PM:
--------------------------------------------------------------

Fixed in [r1732839|https://svn.apache.org/viewvc?view=revision&revision=1732839]. Added tests in [r1732892|https://svn.apache.org/viewvc?view=revision&revision=1732892].


was (Author: radu.cotescu):
Fixed in [r1732839|https://svn.apache.org/viewvc?view=revision&revision=1732839].

> Sightly filters don't remove their specific options from the expression during processing
> -----------------------------------------------------------------------------------------
>
>                 Key: SLING-5568
>                 URL: https://issues.apache.org/jira/browse/SLING-5568
>             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.16
>
>
> Most of the Sightly expression filters don't remove their specific options from the expression during the processing chain. This leads to some expression options being processed multiple times. While this has not caused any problems until now it can lead to a nondeterministic behaviour for expression evaluation.
> The following filters are affected:
> * {{org.apache.sling.scripting.sightly.impl.filter.I18nFilter}}
> * {{org.apache.sling.scripting.sightly.impl.filter.FormatFilter}}
> * {{org.apache.sling.scripting.sightly.impl.filter.JoinFilter}} 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)