View Issue Details

This bug affects 2 person(s).
 20
IDProjectCategoryView StatusLast Update
19491Bug reportsSurvey editingpublic2024-11-19 18:14
Reportertibor.pacalat Assigned Togabrieljenik  
PriorityurgentSeveritycrash 
Status closedResolutionfixed 
Product Version6.4.x 
Summary19491: When adding a file attachment for the invitation emails, the file upload dialog opens, but stays blank 50% of the time
Description

When adding a file attachment for the invitation emails, the file upload dialog opens, but stays blank 50% of the time.

More insights about the issue:

  1. It does not happen with a deactivated browser cache, so maybe it is a JS race condition issue? Managed to reproduce in Firefox
  2. Testing locally file upload doesn't work at all in Chrome. It works in Firefox and Edge.
    • KCFinder browser script is always successfully loaded in to the iframe but intermittently the display fails to render correctly and the iframe content displays as an empty window.
    • The same issue exists in CE so this is not installation specific.
    • Issue can be demonstrated in FireFox and Edge.
    • On chrome the file upload functionality does not work at all. The browser gets stuck at the point of trying to load the iframe. Eventually the browser crashes.
Steps To Reproduce

Steps to reproduce

(Replace this text with detailed step-by-step instructions on how to reproduce the issue)

Expected result

(Write here what you expected to happen)

Actual result

(Write here what happened instead)

TagsNo tags attached.
Bug heat20
Complete LimeSurvey version number (& build)6.4.12+240311
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

related to 19388 new Multiple File Upload Questions in One Question Group Issue 

Users monitoring this issue

Activities

schwadtke@demogr.mpg.de

schwadtke@demogr.mpg.de

2024-03-21 14:52

reporter   ~79821

I can confirm this for Version 6.5.1+240320 (self hosted). We first saw this in 6.4.0, but after updating to the latest version the issue is still present. Please see screenshots attached for chrome and firefox

firefox.jpg (75,245 bytes)   
firefox.jpg (75,245 bytes)   
chrome.jpg (115,410 bytes)
gabrieljenik

gabrieljenik

2024-04-08 14:23

manager   ~79882

Have been testing in different ways, in different versions, in different browsers, with and without cache, and I couldn't reproduce it.

tibor.pacalat

tibor.pacalat

2024-04-09 13:28

administrator   ~79890

Last edited: 2024-04-09 13:28

I can not reproduce this issue any more as well. Tested with 6.5.1 and 6.5.2 in multiple browsers. @schwadtke@demogr.mpg.de can you still reproduce the issue? I need more info about the error or I will close this since the issue is not reproducible.

schwadtke@demogr.mpg.de

schwadtke@demogr.mpg.de

2024-04-09 13:33

reporter   ~79891

I can still reproduce the issue. What info do you need?

tibor.pacalat

tibor.pacalat

2024-04-09 14:03

administrator   ~79892

For example if you can see any failed requests or errors in the developer tools in chrome.

How to get to developer tools:

  1. Click on 3 dots in the right upper corner of the browsers toolbar
  2. Click on "More tools" and then on "Developer tools"

If you look at the screenshot, the console is below and shows an error on this page and failed requests are above marked with red icon with a black cross inside.

I assume that something with the KCFinder is not loading properly.

For example this request that is successfully finished in my local instance (2nd screenshot http://ls-ce/vendor/kcfinder/browse.php?opener=custom&type=files&CKEditor=email_invitation_en&langCode=en)

schwadtke@demogr.mpg.de

schwadtke@demogr.mpg.de

2024-04-09 14:04

reporter   ~79893

Please find two capture videos attached. In Chrome, when clicking "Add file" the browser crashes, in Firefox on the first click it works, the following tries give that blank window. Chrome version is 123.0.6312.86 (Official Build) (64-bit), Firefox version 124.0.2 (64-bit).

schwadtke@demogr.mpg.de

schwadtke@demogr.mpg.de

2024-04-09 14:13

reporter   ~79894

Thank you. This is what I get when I click "Add file" in Chrome. No error, but browser crashes.

LimeSurvey_AddFile.JPG (88,851 bytes)   
LimeSurvey_AddFile.JPG (88,851 bytes)   
tibor.pacalat

tibor.pacalat

2024-04-09 14:19

administrator   ~79895

@gabrieljenik does this information help you?

c_schmitz

c_schmitz

2024-04-15 20:31

administrator   ~79922

Last edited: 2024-04-15 21:31

I was able to reproduce it but not anymore. So I think this was a bug in Chrome.
So, whoever can still reproduce it. Can you let us know version of Chrome you are running and then maybe try to update and see if you can still reproduce?

schwadtke@demogr.mpg.de

schwadtke@demogr.mpg.de

2024-04-22 11:34

reporter   ~79955

I can still reproduce the issue as described above in Chrome (123.0.6312.106) and Firefox (124.0.2). Are we the only one who have that issue?

f_funke

f_funke

2024-04-22 12:29

developer   ~79960

Last edited: 2024-04-22 12:41

I can reproduce the issue (Windows, Firefox). But only if there are multiple upload questions in a group and only for the second and following questions (see bug report 19388). If there is only a single upload question, I cannot reproduce.

grafik.png (10,747 bytes)   
grafik.png (10,747 bytes)   
tibor.pacalat

tibor.pacalat

2024-04-24 11:35

administrator   ~79994

I managed to reproduce it on Chrome Version 124.0.6367.62. App version 6.5.4+240422.
When I click on Add file in the Email invitation template, I get grey overlay and can't do anything, even refresh doesn't work.
After some time, I get "Page Unresponsive".

c_schmitz

c_schmitz

2024-04-25 09:07

administrator   ~80000

@gabrieljenik Can you give it another try, please?

gabrieljenik

gabrieljenik

2024-04-26 14:20

manager   ~80017

I will

tibor.pacalat

tibor.pacalat

2024-04-26 16:11

administrator   ~80023

@p_teichmann resolved this today.

https://github.com/LimeSurvey/LimeSurvey/commit/4fcb48cfbb06983f9388ba10d4e7edbe68ef8b2e

Issue History

Date Modified Username Field Change
2024-03-20 17:16 tibor.pacalat New Issue
2024-03-20 17:17 tibor.pacalat Assigned To => gabrieljenik
2024-03-20 17:17 tibor.pacalat Status new => assigned
2024-03-21 14:46 schwadtke@demogr.mpg.de Issue Monitored: schwadtke@demogr.mpg.de
2024-03-21 14:46 schwadtke@demogr.mpg.de Bug heat 0 => 2
2024-03-21 14:51 guest Bug heat 2 => 8
2024-03-21 14:52 schwadtke@demogr.mpg.de Note Added: 79821
2024-03-21 14:52 schwadtke@demogr.mpg.de File Added: firefox.jpg
2024-03-21 14:52 schwadtke@demogr.mpg.de File Added: chrome.jpg
2024-03-21 14:52 schwadtke@demogr.mpg.de Bug heat 8 => 10
2024-03-25 10:35 twilllig Issue Monitored: twilllig
2024-03-25 10:35 twilllig Bug heat 10 => 12
2024-04-08 14:23 gabrieljenik Note Added: 79882
2024-04-08 14:23 gabrieljenik Bug heat 12 => 14
2024-04-08 14:23 gabrieljenik Assigned To gabrieljenik => tibor.pacalat
2024-04-08 14:23 gabrieljenik Status assigned => feedback
2024-04-09 13:28 tibor.pacalat Note Added: 79890
2024-04-09 13:28 tibor.pacalat Bug heat 14 => 16
2024-04-09 13:28 tibor.pacalat Note Edited: 79890
2024-04-09 13:33 schwadtke@demogr.mpg.de Note Added: 79891
2024-04-09 14:03 tibor.pacalat Note Added: 79892
2024-04-09 14:03 tibor.pacalat File Added: Screenshot 2024-04-09 at 13.57.36.png
2024-04-09 14:03 tibor.pacalat File Added: Screenshot 2024-04-09 at 14.01.58.png
2024-04-09 14:04 schwadtke@demogr.mpg.de Note Added: 79893
2024-04-09 14:04 schwadtke@demogr.mpg.de File Added: 2024-04-09 13-58-47.mkv
2024-04-09 14:04 schwadtke@demogr.mpg.de File Added: 2024-04-09 13-48-28.mkv
2024-04-09 14:13 schwadtke@demogr.mpg.de Note Added: 79894
2024-04-09 14:13 schwadtke@demogr.mpg.de File Added: LimeSurvey_AddFile.JPG
2024-04-09 14:19 tibor.pacalat Note Added: 79895
2024-04-15 20:31 c_schmitz Note Added: 79922
2024-04-15 20:31 c_schmitz Bug heat 16 => 18
2024-04-15 21:31 c_schmitz Note Edited: 79922
2024-04-22 11:34 schwadtke@demogr.mpg.de Note Added: 79955
2024-04-22 12:29 f_funke Note Added: 79960
2024-04-22 12:29 f_funke File Added: grafik.png
2024-04-22 12:29 f_funke Bug heat 18 => 20
2024-04-22 12:41 f_funke Note Edited: 79960
2024-04-22 12:41 f_funke Relationship added related to 19388
2024-04-24 11:35 tibor.pacalat Note Added: 79994
2024-04-24 11:35 tibor.pacalat Assigned To tibor.pacalat => gabrieljenik
2024-04-24 11:35 tibor.pacalat Status feedback => assigned
2024-04-25 09:07 c_schmitz Note Added: 80000
2024-04-25 10:04 c_schmitz Priority none => urgent
2024-04-26 14:20 gabrieljenik Note Added: 80017
2024-04-26 16:11 tibor.pacalat Status assigned => resolved
2024-04-26 16:11 tibor.pacalat Resolution open => fixed
2024-04-26 16:11 tibor.pacalat Note Added: 80023
2024-11-19 18:14 c_schmitz Status resolved => closed