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

sessionStorage exceeds max-size when browsing large termsets #739

Closed
JohanFiske opened this issue Nov 23, 2020 · 2 comments
Closed

sessionStorage exceeds max-size when browsing large termsets #739

JohanFiske opened this issue Nov 23, 2020 · 2 comments
Labels
status:fixed-next-drop Issue will be fixed in upcoming release. type:bug
Milestone

Comments

@JohanFiske
Copy link

Category

[ ] Enhancement

[x] Bug

[ ] Question

Version

Please specify what version of the library you are using: [1.13.2]
We tried the latest version also, but gives the same error.

Expected / Desired Behavior / Question

Browsable termsets with more than 1500 terms

Observed Behavior

When opening multiple large termsets the spinner is stuck and won't load the termset tree

Steps to Reproduce

Open a couple of taxonomy pickers with more than 1000 terms. After a few the spinner gets stuck and in the console this error occurs:
Uncaught (in promise) DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of '[guid]' exceeded the quota.

Workaround/Question

After selecting a term we're removing the termset-item from sessionStorage in order to not exceed the quota on the next load of a different termset, but it feels like a unnecessary workaround. Any ideas how this could be fixed without this workaround?

Thanks and regards,
Johan

@ghost
Copy link

ghost commented Nov 23, 2020

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@ghost ghost added the Needs: Triage 🔍 label Nov 23, 2020
@AJIXuMuK
Copy link
Collaborator

Hi @JohanFiske!
Thank you for reporting the issue!
@gautamdsheth has fixed it in #745 and it'll be available in the next release.
In a meantime you can test it in beta version.

@AJIXuMuK AJIXuMuK added status:fixed-next-drop Issue will be fixed in upcoming release. type:bug and removed Needs: Triage 🔍 labels Nov 28, 2020
@AJIXuMuK AJIXuMuK added this to the 2.2.0 milestone Nov 28, 2020
@estruyf estruyf mentioned this issue Dec 3, 2020
@AJIXuMuK AJIXuMuK closed this as completed Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:fixed-next-drop Issue will be fixed in upcoming release. type:bug
Projects
None yet
Development

No branches or pull requests

2 participants