Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
rowheat02 opened this issue Dec 4, 2024 · 0 comments
Open
1 task done

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

rowheat02 opened this issue Dec 4, 2024 · 0 comments
Labels

Comments

@rowheat02
Copy link
Contributor

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

@rowheat02 rowheat02 added the bug label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant