View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
17923Bug reportsSurvey editingpublic2022-03-02 20:21
ReporterDenisChenu Assigned Toollehar  
PrioritylowSeveritypartial_block 
Status closedResolutionfixed 
Product Version5.x 
Summary17923: White page after submit sureyglobal settings
Description

After save survey global settings : white page

Steps To Reproduce

Steps to reproduce

Edit any survey
Go to global settings
Save

Expected result

White page (debug 0 or 2)

Actual result

return to same page and see "Settings saved"
or return to a page "settings saved"

TagsNo tags attached.
Attached Files
Peek 02-03-2022 09-04.gif (400,183 bytes)
Bug heat6
Complete LimeSurvey version number (& build) 5.3.1 github
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2022-03-02 10:56

administrator   ~68494

Gah

galads

galads

2022-03-02 11:03

reporter   ~68495

But I cannot reproduce this

galads

galads

2022-03-02 11:03

reporter   ~68496

Console error?

ollehar

ollehar

2022-03-02 11:46

administrator   ~68499

Windows or Linux, Denis?

DenisChenu

DenisChenu

2022-03-02 12:01

developer   ~68502

Linux : on my local installation,
I just reset … to current git .

DenisChenu

DenisChenu

2022-03-02 12:03

developer   ~68503

shnoulle@poledra:/data/webdev/master$ git reset --hard origin/master
HEAD est maintenant à 18a9bd6875 Release 5.3.1+220301
shnoulle@poledra:/data/webdev/master$ git pull
remote: Enumerating objects: 82, done.
remote: Counting objects: 100% (72/72), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 43 (delta 31), reused 30 (delta 20), pack-reused 0
Dépaquetage des objets: 100% (43/43), 4.46 Kio | 31.00 Kio/s, fait.
Depuis github.com:LimeSurvey/LimeSurvey
18a9bd6875..f101336c75 master -> origin/master
84502c250e..dc2dc39551 zoho/L41-T1704_Duplicate_ComfortUpdateChecker_plugin -> origin/zoho/L41-T1704_Duplicate_ComfortUpdateChecker_plugin
Mise à jour 18a9bd6875..f101336c75
Fast-forward
application/controllers/admin/Update.php | 37 +++++++++++-----------
.../answer/listradio/rows/answer_row.twig | 2 +-
2 files changed, 19 insertions(+), 20 deletions(-)

Same : page is white, no error , mlet me add some tracavar

DenisChenu

DenisChenu

2022-03-02 12:05

developer   ~68504

Checked : action : https://github.com/LimeSurvey/LimeSurvey/blob/f101336c75d891f767863f3b32bdf6b828d58031/application/controllers/admin/Database.php#L851

goes to App()->end():
https://github.com/LimeSurvey/LimeSurvey/blob/f101336c75d891f767863f3b32bdf6b828d58031/application/controllers/admin/Database.php#L945

ollehar

ollehar

2022-03-02 12:06

administrator   ~68505

Carsten gets a different error, where nothing happens instead. I'll test too.

DenisChenu

DenisChenu

2022-03-02 12:07

developer   ~68506

Some tracevar(LINE) and action

DenisChenu

DenisChenu

2022-03-02 12:09

developer   ~68507

Javascript error : no ajax done …

MUST work without ajax

DenisChenu

DenisChenu

2022-03-02 12:11

developer   ~68508

OK : related to https://bugs.limesurvey.org/view.php?id=17813

I must check difference .

DId i leave this open about saving without ajax ?

DenisChenu

DenisChenu

2022-03-02 12:15

developer   ~68509

Related select2 commit : https://github.com/select2/select2/commit/4bd4bbce2161495859ed66c129c59ecd07db8374

ollehar

ollehar

2022-03-02 12:16

administrator   ~68510

I have this error: Uncaught Error: No select2/selection/languagesWidgetSelectionAdapter

DenisChenu

DenisChenu

2022-03-02 12:17

developer   ~68511

Last edited: 2022-03-02 12:17

I have this error: Uncaught Error: No select2/selection/languagesWidgetSelectionAdapter

with select2 4.1.0RC1 ?
(still wait final release to create the pull request …)

ollehar

ollehar

2022-03-02 12:19

administrator   ~68512

callDep https://localhost/assets/packages/bootstrap/plugins/select2/js/select2.full.js:215

DenisChenu

DenisChenu

2022-03-02 12:23

developer   ~68513

Don't have issue with select2 2.04 (included in LimeSurvey).

ollehar

ollehar

2022-03-02 12:23

administrator   ~68514

Wait, sorry. It all works now after I fixed my nginx config properly to load all script.

Denis, do you have ANY 404 Not Found in your network tab?

DenisChenu

DenisChenu

2022-03-02 14:33

developer   ~68521

@ollehar : read before : it's because i use https://gitlab.com/SondagesPro/coreAndTools/select2package

And select2 remove appendMany in https://github.com/select2/select2/commit/4bd4bbce2161495859ed66c129c59ecd07db8374

Since select2 with A11Y are in Release Candidate actuellay : i don't create the pull request.

BUT : did JS broken muts show a white page or not ? See comment https://bugs.limesurvey.org/view.php?id=17923#c68508

DId i leave this open about saving without ajax ?

ollehar

ollehar

2022-03-02 17:49

administrator   ~68523

White-page just means that the button has no event bound to it, since JS halted too early. Otherwise it could call Ajax properly instead of submitting the page.

DenisChenu

DenisChenu

2022-03-02 17:50

developer   ~68524

It was saved (look at screencast)

ollehar

ollehar

2022-03-02 17:51

administrator   ~68525

Yes, because the controller action works. But it's not supposed to be called by a normal form submit.

DenisChenu

DenisChenu

2022-03-02 18:11

developer   ~68526

«not supposed» … …
Normal submit ???

It's a normal submit… ajax submit is not a normal submit.

But : you can close , see my comment.

ollehar

ollehar

2022-03-02 18:14

administrator   ~68527

Yes, that's what I said. It's NOT supposed to be called normally, BUT with Ajax. :)

Closing.

Issue History

Date Modified Username Field Change
2022-03-02 09:06 DenisChenu New Issue
2022-03-02 09:06 DenisChenu File Added: Peek 02-03-2022 09-04.gif
2022-03-02 10:56 ollehar Note Added: 68494
2022-03-02 10:56 ollehar Bug heat 0 => 2
2022-03-02 11:03 galads Note Added: 68495
2022-03-02 11:03 galads Bug heat 2 => 4
2022-03-02 11:03 galads Note Added: 68496
2022-03-02 11:46 ollehar Note Added: 68499
2022-03-02 12:01 DenisChenu Note Added: 68502
2022-03-02 12:01 DenisChenu Bug heat 4 => 6
2022-03-02 12:03 DenisChenu Note Added: 68503
2022-03-02 12:05 DenisChenu Note Added: 68504
2022-03-02 12:06 ollehar Note Added: 68505
2022-03-02 12:07 DenisChenu Note Added: 68506
2022-03-02 12:07 DenisChenu File Added: Capture d’écran du 2022-03-02 12-07-21.png
2022-03-02 12:09 DenisChenu Note Added: 68507
2022-03-02 12:09 DenisChenu File Added: Capture d’écran du 2022-03-02 12-08-53.png
2022-03-02 12:11 DenisChenu Note Added: 68508
2022-03-02 12:15 DenisChenu Note Added: 68509
2022-03-02 12:16 ollehar Note Added: 68510
2022-03-02 12:16 ollehar Priority none => immediate
2022-03-02 12:16 ollehar Severity minor => crash
2022-03-02 12:17 DenisChenu Note Added: 68511
2022-03-02 12:17 DenisChenu Note Edited: 68511
2022-03-02 12:19 ollehar Note Added: 68512
2022-03-02 12:23 DenisChenu Note Added: 68513
2022-03-02 12:23 ollehar Note Added: 68514
2022-03-02 14:33 DenisChenu Note Added: 68521
2022-03-02 14:33 DenisChenu Priority immediate => low
2022-03-02 14:33 DenisChenu Severity crash => partial_block
2022-03-02 17:49 ollehar Note Added: 68523
2022-03-02 17:50 DenisChenu Note Added: 68524
2022-03-02 17:51 ollehar Note Added: 68525
2022-03-02 18:11 DenisChenu Note Added: 68526
2022-03-02 18:14 ollehar Note Added: 68527
2022-03-02 18:14 ollehar Assigned To => ollehar
2022-03-02 18:14 ollehar Status new => closed
2022-03-02 18:14 ollehar Resolution open => fixed
2022-03-02 20:21 c_schmitz Bug heat 6 => 8
2022-03-02 20:21 c_schmitz Bug heat 8 => 6