You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Mike Jumper (Jira)" <ji...@apache.org> on 2023/02/27 22:39:00 UTC

[jira] [Created] (GUACAMOLE-1745) Scope watches on session storage may trigger AngularJS "infdig" error

Mike Jumper created GUACAMOLE-1745:
--------------------------------------

             Summary: Scope watches on session storage may trigger AngularJS "infdig" error
                 Key: GUACAMOLE-1745
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1745
             Project: Guacamole
          Issue Type: Bug
          Components: guacamole
            Reporter: Mike Jumper


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)