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

[HApi] Potential infinite recursion on reading hapi type from a path

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. SLING-5055.patch
          8 kB
          Andrei Dulvac

        Activity

          People

            bdelacretaz Bertrand Delacretaz
            andrei.dulvac Andrei Dulvac
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: