View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
09268Bug reportsResponse browsingpublic2014-11-28 16:36
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.06+ 
Fixed in Version2.06+ 
Summary09268: Allowed memory size on browse response JSON
Description

With a survey with a lot of responses, json is broken, return Allowed memory size of XXXXXXXXXX bytes exhausted

Steps To Reproduce

Get a survey with a lot of response

Additional Information

There are no limit in getResponses_json

$dtresult = SurveyDynamic::model($iSurveyID)->findAllAsArray();

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)140930
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionmysql
Server OS (if known)debian/linux
Webserver software & version (if known)apache
PHP VersionPHP Version 5.4.4

Relationships

child of 09207 closedDenisChenu Port new response search/filter feature to Limesurvey 2.06 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2014-09-30 12:54

developer   ~30719

Need more time, need return total / total page etc ....

DenisChenu

DenisChenu

2014-09-30 14:26

developer   ~30720

Need filtering too ...

DenisChenu

DenisChenu

2014-10-02 12:30

developer   ~30729

https://github.com/Shnoulle/LimeSurvey-shnoulle/commit/cb62242181dd4f3d7644bc38aea78c148212cad0

DenisChenu

DenisChenu

2014-11-27 00:33

developer   ~31117

Last edited: 2014-11-27 00:41

Now it's not a memory issue : but display only the first 25 answers :
https://github.com/LimeSurvey/LimeSurvey/commit/d069091442b22472872f6a78c44524424e37ef85#diff-15547196721577f485345c4a68f0c5d0R573 : rows is allways at 25

Use lsa at http://bugs.limesurvey.org/view.php?id=9260
http://bugs.limesurvey.org/file_download.php?file_id=6496&type=bug

Mazi

Mazi

2014-11-27 08:02

updater   ~31120

It may take a few weeks until we can address this issue. If you can fix it easily I would appreciate it.

DenisChenu

DenisChenu

2014-11-27 08:22

developer   ~31122

I just have idea : the fix to show all is easy (already done), but i don't fix the filter.

Did i fix and you take the filter after ?
And what for upload files ? I don't test, but surely broken actually.

DenisChenu

DenisChenu

2014-11-28 16:34

developer   ~31129

Fix committed to 2.06 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14675

Related Changesets

LimeSurvey: 2.06 ba148308

2014-11-28 15:33:54

DenisChenu

Details Diff
Fixed issue 09268: Allowed memory size on browse response JSON or Not all response are shown
Dev: adding quick filter and sort
Dev: TODO : adding filter/sort by firstname/lastname
Dev: TODO : add the lastpage/startdate/timestamp
Dev: Fix upload file question type
Affected Issues
09207, 09268
mod - application/controllers/admin/responses.php Diff File
mod - scripts/admin/listresponse.js Diff File

Issue History

Date Modified Username Field Change
2014-09-30 12:31 DenisChenu New Issue
2014-09-30 12:31 DenisChenu Assigned To => DenisChenu
2014-09-30 12:31 DenisChenu Status new => assigned
2014-09-30 12:54 DenisChenu Assigned To DenisChenu =>
2014-09-30 12:54 DenisChenu Note Added: 30719
2014-09-30 12:54 DenisChenu Assigned To => DenisChenu
2014-09-30 12:54 DenisChenu Status assigned => new
2014-09-30 12:54 DenisChenu Assigned To DenisChenu =>
2014-09-30 14:26 DenisChenu Note Added: 30720
2014-10-02 10:40 DenisChenu Relationship added child of 09207
2014-10-02 12:30 DenisChenu Note Added: 30729
2014-11-12 18:15 DenisChenu Assigned To => Mazi
2014-11-12 18:15 DenisChenu Status new => assigned
2014-11-27 00:33 DenisChenu Note Added: 31117
2014-11-27 00:40 DenisChenu File Added: Capture du 2014-11-27 00:39:12.png
2014-11-27 00:40 DenisChenu File Added: Capture du 2014-11-27 00:39:34.png
2014-11-27 00:41 DenisChenu Note Edited: 31117
2014-11-27 00:41 DenisChenu Note Edited: 31117
2014-11-27 08:02 Mazi Note Added: 31120
2014-11-27 08:22 DenisChenu Note Added: 31122
2014-11-28 16:34 DenisChenu Changeset attached => LimeSurvey 2.06 ba148308
2014-11-28 16:34 DenisChenu Note Added: 31129
2014-11-28 16:34 DenisChenu Assigned To Mazi => DenisChenu
2014-11-28 16:34 DenisChenu Resolution open => fixed
2014-11-28 16:36 DenisChenu Status assigned => closed
2014-11-28 16:36 DenisChenu Fixed in Version => 2.06+