Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
15356Bug reportsSurvey editingpublic2020-03-09 15:40
Reporterollehar Assigned Tomarkusfluer 
PrioritynoneSeveritycrash 
Status closedResolutionduplicate 
Product Version3.18.0 
Target Version3.18.x 
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.
Attached Files
Selection_877.png (92,206 bytes)   
Selection_877.png (92,206 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)latest master
I will donate to the project if issue is resolvedNo
Browser-
Database type & version-
Server OS (if known)-
Webserver software & version (if known)-
PHP Version-

Relationships

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

Activities

ollehar

ollehar

2019-10-02 18:22

administrator   ~53863

Last edited: 2019-10-02 18:28

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?

markusfluer

markusfluer

2019-12-16 12:05

administrator   ~55040

Resolved.
There is an automatic Cleaning system in LS4 now.
I will backport this to ls3 in the coming sprint.

ollehar

ollehar

2020-03-09 15:40

administrator   ~56374

I will backport this to ls3 in the coming sprint.

Done?

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
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
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
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2019-12-16 12:05 markusfluer Assigned To => markusfluer
2019-12-16 12:05 markusfluer Status new => resolved
2019-12-16 12:05 markusfluer Resolution open => duplicate
2019-12-16 12:05 markusfluer Note Added: 55040
2020-03-09 15:36 c_schmitz Status resolved => closed
2020-03-09 15:40 ollehar Note Added: 56374