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)