You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andrei Dulvac (JIRA)" <ji...@apache.org> on 2015/09/23 12:20:04 UTC

[jira] [Updated] (SLING-5055) [HApi] Potential infinite recursion on reading hapi type from a path

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

Andrei Dulvac updated SLING-5055:
---------------------------------
    Attachment: SLING-5055.patch

Attached patch.

> [HApi] Potential infinite recursion on reading hapi type from a path
> --------------------------------------------------------------------
>
>                 Key: SLING-5055
>                 URL: https://issues.apache.org/jira/browse/SLING-5055
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Andrei Dulvac
>              Labels: PatchAvailable
>         Attachments: SLING-5055.patch
>
>
> The Hypermedia API tools could potentially enter an infinite recursion if a type defined in the sling repository has a property of the same type as the type being read.
> The problem is in HApiUtilImpl and the solution I found was to use the types cache before adding the parent and properties.



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