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/01/31 21:48:00 UTC
[jira] [Created] (SLING-7458) Index Out of Bounds in
sling:getParents Tag / Function
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)