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

localStorage.setItem throws QuotaExceededError when opening issue cards #378

Open
cayleyh opened this issue Nov 6, 2019 · 7 comments
Open

Comments

@cayleyh
Copy link

cayleyh commented Nov 6, 2019

We have a couple larger boards that aggregate a lot of repos together. Using these in Safari is impossible. Every time I click an issue to see the card, it just "loads forever". The console reports a QuotaExceededError with something that is trying to be set in LocalStorage.

@cayleyh
Copy link
Author

cayleyh commented Nov 6, 2019

I should note, that this is an issue even on projects that have only a couple repos added, but I see it if I have multiple projects open in separate tabs.

This issue is making Codetree basically unusable for large-scale change planning. The best I can do is to create the issues I need across repos in the master project, but then I have to go into the individual repos to see & edit the issues.

@clizSec
Copy link

clizSec commented Nov 11, 2019

Same thing happens using Google Chrome in my end.

I'm receiving the following errors:

1.https://codetree.com/projects/icBG/issues/ISSUE_NUMBER/edit 500 (Internal Server Error)
2. {"status":500,"error":"Internal Server Error"} - Network response

EDIT: Solved for me.

@cayleyh
Copy link
Author

cayleyh commented Nov 25, 2019

This is still an issue for me. It is VERY annoying as it actively prevents work from happening.

Is there a resolution for this coming soon?

@cayleyh
Copy link
Author

cayleyh commented Dec 2, 2019

@ac21 any idea if this will be fixed soon? I'm really struggling to continue justifying this product to my team because the combo projects are just not usable for some people because of this.

@cayleyh
Copy link
Author

cayleyh commented Dec 21, 2019

Appears to be solved on Safari as well. Will re-open if I observe the same failure again.

@cayleyh cayleyh closed this as completed Dec 21, 2019
@cayleyh
Copy link
Author

cayleyh commented Feb 7, 2020

This is still happening. Not as much, but I still routinely have this happen when I do things like open two separate tabs that have different project boards showing (ie. very common PM workflow).

Error is still the same:

[Error] QuotaExceededError: The quota has been exceeded.
	setItem (application-75e61809c8683de88936f3ef3092de24605c30f2b5831b3cce060047eb5c7fbb.js:8:10781)
	(anonymous function) (application-75e61809c8683de88936f3ef3092de24605c30f2b5831b3cce060047eb5c7fbb.js:8:10781)
	(anonymous function) (application-75e61809c8683de88936f3ef3092de24605c30f2b5831b3cce060047eb5c7fbb.js:8:10074)
	(anonymous function)
	dispatch (frameworks-9925835b7fc64f019e476782a63cb1055caf83ce2ef9ae1be8579759311970d5.js:26:522)
	(anonymous function) (frameworks-9925835b7fc64f019e476782a63cb1055caf83ce2ef9ae1be8579759311970d5.js:25:30049)
	trigger (frameworks-9925835b7fc64f019e476782a63cb1055caf83ce2ef9ae1be8579759311970d5.js:25:32388)
	(anonymous function) (frameworks-9925835b7fc64f019e476782a63cb1055caf83ce2ef9ae1be8579759311970d5.js:26:5608)
	each (frameworks-9925835b7fc64f019e476782a63cb1055caf83ce2ef9ae1be8579759311970d5.js:14:12100)
	each (frameworks-9925835b7fc64f019e476782a63cb1055caf83ce2ef9ae1be8579759311970d5.js:14:10086)
	trigger (frameworks-9925835b7fc64f019e476782a63cb1055caf83ce2ef9ae1be8579759311970d5.js:26:5581)
	(anonymous function) (frameworks-9925835b7fc64f019e476782a63cb1055caf83ce2ef9ae1be8579759311970d5.js:226:15544)
	(anonymous function) (application-75e61809c8683de88936f3ef3092de24605c30f2b5831b3cce060047eb5c7fbb.js:2:2442)
	c (frameworks-9925835b7fc64f019e476782a63cb1055caf83ce2ef9ae1be8579759311970d5.js:25:22266)
	fireWith (frameworks-9925835b7fc64f019e476782a63cb1055caf83ce2ef9ae1be8579759311970d5.js:25:23075)
	n (frameworks-9925835b7fc64f019e476782a63cb1055caf83ce2ef9ae1be8579759311970d5.js:26:27049)
	(anonymous function) (frameworks-9925835b7fc64f019e476782a63cb1055caf83ce2ef9ae1be8579759311970d5.js:27:166)

Only fix once Codetree hits this state it is to clear all data for the page in the browser, and start over.

@cayleyh cayleyh reopened this Feb 7, 2020
@cayleyh
Copy link
Author

cayleyh commented Jul 16, 2020

This is still an issue I hit regularly. It's this line of code in cacheRecentIssue():

localStorage.setItem(this.getCacheName(), JSON.stringify(i.slice(0, 5)))

setItem is expected to fail sometimes: https://developer.mozilla.org/en-US/docs/Web/API/Storage/setItem.

@ac21 is there any progress on fixing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants