Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-14666

XUI - InternalError: "too much recursion" error can appear when Adding/Viewing/Updating realms



    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 6.5.1, 7.0.0
    • None
    • XUI
    • Chromium 73.0.3683.75
      Firefox 66.0
    • 2


      Bug description

      I see

      InternalError: "too much recursion"

      javascript error after clicking on Top-level realm in admin UI and Top-level realm is not displayed. I can access Top-level realm content again after opening new browser session. This do not occurs on first top-level realm click. It occurs after not very prolonged work with realms. I was not able to create specific steps to reproduce issue, however I seen it 15 times and also Adam Heath and Jonathan Thomas saw this too. I saw this in AM 7.0.0 and AM 6.5.1-RC2

      How to reproduce the issue

      1. create realm
      2. delete realm
      3. display one of the dashboard actions
      4. cancel
      5. create another realm
      6. look at the properties of that realm
      7. switch to another realm
      8. delete created realm
      9. go to top-level realm
      10. repeat for 10 minutes
      Expected behaviour
      Realm is always displayed well
      Current behaviour
      Unhandled promise rejection InternalError: "too much recursion" in es6.promise.js:110
      See attached image too_much_recursion.png
      Different error is in chromium, see chromium.png


      This problem was probably introduced by lodash javascript library changes or admin/user interface division. There is some recurrent function which if called enough times, will make javascript stop another execution.




            Unassigned Unassigned
            lubomir.mlich Ľubomír Mlích
            0 Vote for this issue
            4 Start watching this issue