View Issue Details

IDProjectCategoryView StatusLast Update
15356Bug reports[All Projects] Survey designpublic2019-10-04 14:55
Reporterollehar Assigned To 
PrioritynoneSeverityblock 
Status newResolutionopen 
Product Version3.18.0 
Target Version3.18.xFixed in Version 
Summary15356: Side-menu breaks after importing ~8000 questions
Description

Local storage fills up.

Steps To Reproduce
  1. Import lots and lots of big surveys and always go to survey overview
  2. Import any survey
  3. Side-menu won't load because of local storage being filled up
TagsNo tags attached.
Complete LimeSurvey version number (& build)latest master
I will donate to the project if issue is resolvedNo
Browser-
Database & DB-Version-
Server OS (if known)-
Webserver software & version (if known)-
PHP Version-

Relationships

duplicate of 15063 assignedJHoeck No surveys menu : Local Storage QuotaExceededError: The quota has been exceeded. 

Activities

ollehar

ollehar

2019-10-02 18:22

administrator  

Selection_877.png (92,206 bytes)
Selection_877.png (92,206 bytes)
ollehar

ollehar

2019-10-02 18:22

administrator   ~53863

Last edited: 2019-10-02 18:28

View 2 revisions

var _lsTotal=0,_xLen,_x;for(_x in localStorage){ if(!localStorage.hasOwnProperty(_x)){continue;} _xLen= ((localStorage[_x].length + _x.length)* 2);_lsTotal+=_xLen; console.log(_x.substr(0,50)+" = "+ (_xLen/1024).toFixed(2)+" KB")};console.log("Total = " + (_lsTotal / 1024).toFixed(2) + " KB");

Shows current local storage.

DenisChenu

DenisChenu

2019-10-04 09:02

developer   ~53871

15063: No surveys menu : Local Storage QuotaExceededError: The quota has been exceeded. :whistle: ;)

ollehar

ollehar

2019-10-04 10:01

administrator   ~53876

Ah, already reported. Thanks, Denis. I added a physical post-it note on our wall as well, so we'll discuss it for next sprint.

ollehar

ollehar

2019-10-04 10:02

administrator   ~53877

PS. Severity is "blocking", IMO. DS.

DenisChenu

DenisChenu

2019-10-04 11:17

developer   ~53878

Not really already reported … i have the issue only in 4.X with Firefox default settings …
But can reproduce on 3.X with hacking dom.storage.default_quota to a very low value.

ollehar

ollehar

2019-10-04 13:39

administrator   ~53882

Question: Is local storage flushed between browser restarts?

DenisChenu

DenisChenu

2019-10-04 14:39

developer   ~53884

No …

ollehar

ollehar

2019-10-04 14:55

administrator   ~53886

Which basically means that every installation will break, eventually?

Issue History

Date Modified Username Field Change
2019-10-02 18:22 ollehar New Issue
2019-10-02 18:22 ollehar File Added: Selection_877.png
2019-10-02 18:22 ollehar Note Added: 53863
2019-10-02 18:28 ollehar Note Edited: 53863 View Revisions
2019-10-04 08:58 DenisChenu Relationship added duplicate of 15063
2019-10-04 09:02 DenisChenu Note Added: 53871
2019-10-04 10:01 ollehar Note Added: 53876
2019-10-04 10:02 ollehar Note Added: 53877
2019-10-04 10:02 ollehar Steps to Reproduce Updated View Revisions
2019-10-04 11:17 DenisChenu Note Added: 53878
2019-10-04 13:39 ollehar Note Added: 53882
2019-10-04 14:39 DenisChenu Note Added: 53884
2019-10-04 14:55 ollehar Note Added: 53886