View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
18635Bug reportsImport/Exportpublic2023-05-05 19:06
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version5.6.x 
Summary18635: When you export single response : sometimes goes to a white page
Description

When you export single response : sometimes it open a new white page (with debug set)
No error log

Steps To Reproduce

Steps to reproduce

With an activate survey and a lot of response
Browse response
Click on View response details
Click on export this response : OK
Click on Browse response
Select one (another) reponse and click on export on the menu at bottom
Export : OK
Click on Browse response
Click on View response details on a third response
Click on export :

Expected result

have the CSV with header and the response

Actual result

White page

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build) 5.5.0
I will donate to the project if issue is resolvedNo
Browserfirefox
Database type & versionmariadb
Server OS (if known)debian
Webserver software & version (if known)nginx
PHP VersionPHP7.4

Relationships

related to 18634 closedadamzammit Export single selected response can export a empty line 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2023-02-16 11:44

developer   ~73845

https://github.com/LimeSurvey/LimeSurvey/pull/2923

DenisChenu

DenisChenu

2023-02-16 11:44

developer   ~73846

Near same than 3.X

tibor.pacalat

tibor.pacalat

2023-04-27 15:10

administrator   ~74694

Can you please resolve conflicts here https://github.com/LimeSurvey/LimeSurvey/pull/2923

DenisChenu

DenisChenu

2023-04-27 15:12

developer   ~74696

I redo the fix …

Need it for 5.X and 6.X

DenisChenu

DenisChenu

2023-04-27 15:17

developer   ~74697

Same issue confirmed in 6.X : white page.

DenisChenu

DenisChenu

2023-04-27 15:19

developer   ~74698

Another way to rproduice

Browse response

  • Check 3 response
  • Click on Export response on the helper at bottom
  • Close
  • Click on Response/view at right
  • Click on Export response
    => white page
DenisChenu

DenisChenu

2023-04-27 15:41

developer   ~74701

5.X : https://github.com/LimeSurvey/LimeSurvey/pull/2923
6.X : https://github.com/LimeSurvey/LimeSurvey/pull/3090

tibor.pacalat

tibor.pacalat

2023-05-04 13:12

administrator   ~74809

@DenisChenu when I click on export here in the screenshot below, a new tab opens, which was not the case before the fix.

DenisChenu

DenisChenu

2023-05-04 15:54

developer   ~74816

@DenisChenu when I click on export here in the screenshot below, a new tab opens, which was not the case before the fix.

Ok, :)
I review

DenisChenu

DenisChenu

2023-05-04 16:49

developer   ~74820

Update done

5.X : https://github.com/LimeSurvey/LimeSurvey/pull/2923
6.X : https://github.com/LimeSurvey/LimeSurvey/pull/3090

tibor.pacalat

tibor.pacalat

2023-05-05 18:09

administrator   ~74873

Tested and merged, works now as expected.

DenisChenu

DenisChenu

2023-05-05 18:36

developer   ~74877

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

DenisChenu

DenisChenu

2023-05-05 19:06

developer   ~74878

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

Related Changesets

LimeSurvey: master 47db94ff

2023-05-05 20:06

DenisChenu

Committer: GitHub


Details Diff
Fixed issue 18635: When you export single response : sometimes goes to a white page (#3090)

* Fixed issue 18635: When you export single response : sometimes goes to a white page
Dev: remove session usage for responsesid
Dev: clearly set as params

* Dev: Fixed new tab opens
Affected Issues
18635
mod - application/controllers/ResponsesController.php Diff File
mod - application/controllers/admin/Export.php Diff File
mod - application/extensions/admin/grid/MassiveActionsWidget/README.md Diff File
mod - application/extensions/admin/grid/MassiveActionsWidget/assets/listActions.js Diff File
mod - application/views/admin/export/exportresult_panels/_single-value.php Diff File
mod - application/views/admin/export/exportresults_view.php Diff File
mod - application/views/responses/massive_actions/_selector.php Diff File

LimeSurvey: 5.x 28f4addd

2023-05-05 20:08

DenisChenu

Committer: GitHub


Details Diff
Fixed issue 18635: Export single response can goes to a white page (#2923)

* Fixed issue 18635: Export single response can goes to a white page
Dev: remove session usage for export response in massive action widget
Dev: send it via POST and clean up some $_GET value

* Dev: some lighter line

* Dev: Fixed new tab opens
Affected Issues
18635
mod - application/controllers/ResponsesController.php Diff File
mod - application/controllers/admin/Export.php Diff File
mod - application/extensions/admin/grid/MassiveActionsWidget/README.md Diff File
mod - application/extensions/admin/grid/MassiveActionsWidget/assets/listActions.js Diff File
mod - application/views/admin/export/exportresult_panels/_single-value.php Diff File
mod - application/views/admin/export/exportresults_view.php Diff File
mod - application/views/responses/massive_actions/_selector.php Diff File

Issue History

Date Modified Username Field Change
2023-02-10 18:07 DenisChenu New Issue
2023-02-10 18:07 DenisChenu Relationship added related to 18634
2023-02-16 09:26 DenisChenu Assigned To => DenisChenu
2023-02-16 09:26 DenisChenu Status new => assigned
2023-02-16 10:49 DenisChenu Summary When you export single response : sometimes goes to a wahite page => When you export single response : sometimes goes to a white page
2023-02-16 11:44 DenisChenu Note Added: 73845
2023-02-16 11:44 DenisChenu Bug heat 0 => 2
2023-02-16 11:44 DenisChenu Assigned To DenisChenu => gabrieljenik
2023-02-16 11:44 DenisChenu Status assigned => ready for code review
2023-02-16 11:44 DenisChenu Note Added: 73846
2023-02-16 15:22 gabrieljenik Assigned To gabrieljenik => ollehar
2023-02-16 15:22 gabrieljenik Status ready for code review => ready for testing
2023-04-27 15:10 tibor.pacalat Note Added: 74694
2023-04-27 15:10 tibor.pacalat Bug heat 2 => 4
2023-04-27 15:12 DenisChenu Note Added: 74696
2023-04-27 15:17 DenisChenu Note Added: 74697
2023-04-27 15:19 DenisChenu Note Added: 74698
2023-04-27 15:41 DenisChenu Note Added: 74701
2023-04-27 15:41 DenisChenu Assigned To ollehar => tibor.pacalat
2023-05-04 13:12 tibor.pacalat Note Added: 74809
2023-05-04 13:12 tibor.pacalat File Added: Screenshot 2023-05-04 at 13.10.32.png
2023-05-04 15:54 DenisChenu Note Added: 74816
2023-05-04 16:49 DenisChenu Note Added: 74820
2023-05-05 18:09 tibor.pacalat Status ready for testing => closed
2023-05-05 18:09 tibor.pacalat Resolution open => fixed
2023-05-05 18:09 tibor.pacalat Note Added: 74873
2023-05-05 18:36 DenisChenu Changeset attached => LimeSurvey 5.x 28f4addd
2023-05-05 18:36 DenisChenu Note Added: 74877
2023-05-05 18:36 DenisChenu Assigned To tibor.pacalat => DenisChenu
2023-05-05 19:06 DenisChenu Changeset attached => LimeSurvey master 47db94ff
2023-05-05 19:06 DenisChenu Note Added: 74878