You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2015/10/28 09:06:27 UTC

[jira] [Created] (SLING-5207) ResourceResolver.isResourceType leads to endless loop when resourceSuperType hierarchy is cyclic

Stefan Seifert created SLING-5207:
-------------------------------------

             Summary: ResourceResolver.isResourceType leads to endless loop when resourceSuperType hierarchy is cyclic
                 Key: SLING-5207
                 URL: https://issues.apache.org/jira/browse/SLING-5207
             Project: Sling
          Issue Type: Bug
          Components: ResourceResolver
    Affects Versions: Resource Resolver 1.2.4
            Reporter: Stefan Seifert
             Fix For: Resource Resolver 1.2.8


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)