Uploaded image for project: 'Identity Gateway'
  1. Identity Gateway
  2. OPENIG-361

StackOverFlowError when decorator resolves a dependency (with a global decorator)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • Core
    • None
    • 3.1 - final dev sprint

    Description

      If there is a global decorator set up in the heap, and if a decorator heap object tries to resolve any dependency during its construction, this results in an infinite recursion: the resolved object (when it is created) will be decorated, and because the decorator is not in the heap at that time (still being constructed), the heap think that no instance is ready and create a new one, one again and again ...

      Attachments

        Issue Links

          Activity

            People

              guillaume.sauthier Guillaume Sauthier
              guillaume.sauthier Guillaume Sauthier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: