You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Dan Klco (JIRA)" <ji...@apache.org> on 2018/10/15 16:00:00 UTC

[jira] [Closed] (SLING-7641) Use Default if Value is Blank on sling:encode Tag

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

Dan Klco closed SLING-7641.
---------------------------

Closed with the release of [Sling JSP Taglib 2.3.0|https://issues.apache.org/jira/projects/SLING/versions/12342671]

> Use Default if Value is Blank on sling:encode Tag
> -------------------------------------------------
>
>                 Key: SLING-7641
>                 URL: https://issues.apache.org/jira/browse/SLING-7641
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting JSP Taglib 2.2.6
>            Reporter: Dan Klco
>            Assignee: Dan Klco
>            Priority: Major
>             Fix For: Scripting JSP Taglib 2.3.0
>
>
> According to the description in the TLD, the blank value is:
> "The default value to be used if the value is either null or an empty string." 
> However, the Encode Tag only uses a null check to decide to use the default value. This should instead check if the string is null or empty.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)