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

resource.resourceResolver.listChildren only enlists jcr nodes but not all child resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Resource 2.0.6
    • JCR Resource 2.0.8
    • JCR
    • None
    • sling from trunk (as of August 20th 2010)

    Description

      in my esp-script I have the follwoing line:
      var childResources = request.resourceResolver.listChildren(resource );

      In my pom.xml I have the follwoing declaration:
      <Sling-Bundle-Resources>
      /res/sling/explorer;overwrite:=true;uninstall=true;path:=/libs/sling/explorer
      </Sling-Bundle-Resources>

      i.e. I map /res/sling/explorer to /libs/sling/explorer. And I can directly access the files beneath /res/sling/explorer, e.g. http://localhost:8080/res/sling/explorer/css/explorer.css. I.e. resolving seems to work

      But when I enlist (which end up in BundleResourceProvider#listChildren()) on the root I don't see 'res'

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            clemensdev Clemens Wyss
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: