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 23:26:00 UTC

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

     [ https://issues.apache.org/jira/browse/GUACAMOLE-1745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Jumper closed GUACAMOLE-1745.
----------------------------------
    Fix Version/s: 1.6.0
       Resolution: Fixed

> 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
>            Priority: Trivial
>             Fix For: 1.6.0
>
>
> 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)