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

Improve resource type handling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Resource Merger 1.2.4
    • None
    • None

    Description

      The change made in SLING-4247 created an unfortunate side effect for this scenario:

      /apps/a/1/a - nt:unstructured node, no sling:resourceType property
      /apps/a/2/a - sling:resourceType set to foo/bar

      /apps/a/1 has sling:resourceSuperType set to /apps/a/2

      Then

      resourceResolver.getResource("/mnt/override/apps/a/1/a").getResourceType() will be nt:unstructured

      This strikes me as wrong. And in fact screws up what is for me the main usage of this feature because it shouldn't be necessary to set the sling:resourceType all the time.

      Attachments

        Issue Links

          Activity

            People

              cziegeler Carsten Ziegeler
              justinedelson Justin Edelson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: