Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-1745

Scope watches on session storage may trigger AngularJS "infdig" error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.5.2
    • guacamole
    • None

    Description

      The Guacamole web application provides a sessionStorageFactory service that allows the webapp and extensions to store transient data in memory and rely on that data being automatically reset upon logout. This works well in practice, but can produce an "infdig" error from AngularJS if the value from sessionStorageFactory is the target of a scope watch. Since sessionStorageFactory automatically creates new instances of the stored value as long as the user is not logged in, each new instance may trigger a new digest cycle.

      Attachments

        Activity

          People

            mjumper Mike Jumper
            mjumper Mike Jumper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: