sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Klco (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SLING-7458) Index Out of Bounds in sling:getParents Tag / Function
Date Mon, 15 Oct 2018 16:00:00 GMT

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

Dan Klco closed SLING-7458.
---------------------------

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

> Index Out of Bounds in sling:getParents Tag / Function
> ------------------------------------------------------
>
>                 Key: SLING-7458
>                 URL: https://issues.apache.org/jira/browse/SLING-7458
>             Project: Sling
>          Issue Type: Bug
>    Affects Versions: Scripting JSP-Taglib 2.2.6
>            Reporter: Dan Klco
>            Assignee: Dan Klco
>            Priority: Minor
>             Fix For: Scripting JSP Taglib 2.3.0
>
>
> If the user specifies a depth greater than the depth of the resource used for the child
note, the  sling:getParents Tag and Function will throw an Index Out of Bounds exception.
The less-error prone behavior would be to return an empty iterator of parent resources.



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

Mime
View raw message