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] [Created] (SLING-7458) Index Out of Bounds in sling:getParents Tag / Function
Date Wed, 31 Jan 2018 21:48:00 GMT
Dan Klco created SLING-7458:
-------------------------------

             Summary: 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
             Fix For: Scripting JSP-Taglib 2.2.8


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