Description
When userSession is in the list of plugins of the context, some data is saved to the session context. However, when userSession is removed from the context, the old session data is still being used when the user revisits the map,
How to reproduce
-
Create context with user Session Plugin

-
Save the context
-
Create a map from the existing context that was recently created.

-
Save it

-
Zoom in, wait for 5 sec to save the session( Notice the zoom level)
-
Edit recently created context

-
Remove User Session from enabled plugins

-
Save the context
-
Go back to the recently created context map
-
Zoom level is same as previously zoomed when the session was enabled.
-
Zoom should have been the default zoom, actually zoom is taking from session even though userSession plugin is not there
-
Here, we only took the Zoom example, but all session configs have been used to override the config.
Expected Result
User session should not be used even if it has a previous session after userSession plugin is removed.
Current Result
Using existing sessions even after removing userSession plugin
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)
| Browser Affected |
Version |
| Internet Explorer |
|
| Edge |
|
| Chrome |
|
| Firefox |
|
| Safari |
|
Other useful information
Description
When userSession is in the list of plugins of the context, some data is saved to the session context. However, when userSession is removed from the context, the old session data is still being used when the user revisits the map,
How to reproduce
Create context with user Session Plugin

Save the context
Create a map from the existing context that was recently created.

Save it

Zoom in, wait for 5 sec to save the session( Notice the zoom level)
Edit recently created context

Remove User Session from enabled plugins

Save the context
Go back to the recently created context map
Zoom level is same as previously zoomed when the session was enabled.
Zoom should have been the default zoom, actually zoom is taking from session even though userSession plugin is not there
Here, we only took the Zoom example, but all session configs have been used to override the config.
Expected Result
User session should not be used even if it has a previous session after userSession plugin is removed.
Current Result
Using existing sessions even after removing userSession plugin
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)Other useful information