[ 
https://issues.apache.org/jira/browse/SLING-5207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Seifert resolved SLING-5207.
-----------------------------------
    Resolution: Fixed

Completed: At revision: 1711007  

a SlingException runtime exception is thrown when such a cyclic resource super 
type hierarchy is detected

> 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
>            Assignee: 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)

Reply via email to