Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7458

Index Out of Bounds in sling:getParents Tag / Function

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Scripting JSP-Taglib 2.2.6
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            klcodanr Dan Klco
            klcodanr Dan Klco
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: