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

resourceResolver.listChildren() doesn't handle non-default workspace nodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • JCR Resource 2.0.8
    • JCR
    • None

    Description

      if passed a resource from a non-default workspace, resourceResolver.listChildren() returns an empty list. This is because non-default workspace nodes are wrapped and thus not castable to JcrItemResource, which causes JcrResourceProvider to try to retreive the node path INCLUDING the workspace prefix from the JCR repository.

      Attachments

        Activity

          People

            Unassigned Unassigned
            justinedelson Justin Edelson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: