Skip to content

User sessions has been used even after removing userSession plugin #10713

@rowheat02

Description

@rowheat02

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
    Image

  • Save the context

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

  • Save it
    Image

  • Zoom in, wait for 5 sec to save the session( Notice the zoom level)

  • Edit recently created context
    Image

  • Remove User Session from enabled plugins
    Image

  • 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

  • Not browser related
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

Metadata

Metadata

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions