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)

Reply via email to