Page 1 of 1

sessionStorage not a function?

Posted: Fri Jul 31, 2015 8:12 pm
by Wyatt Patry

All of a sudden I am getting this now:

Uncaught TypeError: $a.SessionStorage is not a function
(anonymous function) @ model.js:29

Happens when I load the start page, no custom js or anything else happening. No changes were made to the source files. I cannot figure out why... everything was working before. This is happening in IE and Chrome so doesn't appear to be the browser.

Seems like when the app tries to load up the sessionStorage variables the function call is bad? This was a fresh build too, I started from the base Appery project. Could it have become corrupted?

Stuck until this is resolved, cannot do anything without sessionstorage variables... Image


sessionStorage not a function?

Posted: Fri Jul 31, 2015 8:40 pm
by Illya Stepanov

Hi Wyatt -

We don't support IE browser. Share your app (I've replied you by email) as the above is not reproducible for me.


sessionStorage not a function?

Posted: Fri Jul 31, 2015 11:51 pm
by Wyatt Patry

Solved: MapQuest JS libraries caused some kind of conflict...

I had the following external resources loaded:
leaflet
mapbox
leaflet marker cluster
mapquest
mapquest traffic

After removing MapQuest libraries the error went away and session storage is back... so perhaps MapQuest is no longer compatible? or conflicts with mapbox? It shouldn't conflict with leaflet since those are MQ leaflet plugins...


sessionStorage not a function?

Posted: Sat Jan 06, 2018 9:46 pm
by Frank Dosh

Sto cazzo