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

ResourceResolver.isResourceType leads to endless loop when resourceSuperType hierarchy is cyclic

    XMLWordPrintableJSON

Details

    Description

      although illegal it is technically possible to create two resources which superResourceType hierarchy creates cycles pointing to each other directly or indirectly.

      with the current implementation of ResourceResolver.isResourceType this leads to an endless loop. the implementation should detect such and error and throw an exception.

      Attachments

        Activity

          People

            sseifert Stefan Seifert
            sseifert Stefan Seifert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: