View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
16194 | Bug reports | Survey taking | public | 2020-04-27 14:35 | 2020-08-24 11:40 |
Reporter | ashvini | Assigned To | gabrieljenik | ||
Priority | normal | Severity | crash | ||
Status | closed | Resolution | fixed | ||
Product Version | 4.2.x | ||||
Summary | 16194: file upload disables other clicks | ||||
Description | IF we do file upload then after that dependency does not work at all Attachedd sample lss please refer it Also made changes in uploader.js Before changes
| ||||
Steps To Reproduce |
if opening second and fourth question on page load by clicking YES of qid1 and qid3 respectively -> then do upload, it works as expected But again remaining questions (if dependency is there) , it does not show dependent question on clicking yes of parent question. | ||||
Additional Information | Refer link https://www.limesurvey.org/community/forums/development/120958-2-file-upload-in-a-single-page#198001 | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 14 | ||||
Complete LimeSurvey version number (& build) | version 4.2.0 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MySql | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 5.7 | ||||
related to | 16589 | closed | gabrieljenik | Unable to Upload files using File upload (|) . |
related to | 16549 | closed | gabrieljenik | Error message is shown while trying to delete and reupload file using File upload |
Confirm the issue (not the fix) on git version Please : can you create a survey with only 2 Y/N questions and 2 upload questions : more simple to understand. |
|
Blocking issue? |
|
Sure... As I started executing survey,
But then did submit, |
|
My undertsnading is file upload is simply blocking other js, which we used for dependent question visibility.... Please look into this issue... And thank you so much for quick reply. No error in console also |
|
Ok,
See screencast … |
|
Thank you @DenisChenu..... I was trying to explain same.... Kindly help me to find some solution for same.... Thank you so much |
|
In fact : i understand right :) but i think it's more clear with only one upload question type. PS : even if you fix work, i think we need to better understand the reason of this bug :) |
|
Tip: Restore code to LS3. |
|
Compare code ? No ? Its what i do for 2 upload question :) |
|
@ollehar and @DenisChenu I will be grateful, if any solution i can get for this. |
|
I have added custom jquery to handle hide show in custom.js Issue has been handled |
|
Please : if yu, have clean solution and/or explanation : can you help ? Remind : LimeSurvey CE are made by a community … |
|
Ok eg. In this, answer552942X34X3063Y is (ID of yes radio button) |
|
@JHoeck : it's not the admin filemanager, it's the fileupload controller here https://github.com/LimeSurvey/LimeSurvey/blob/master/application/controllers/UploaderController.php Public uploader :) |
|
Hello, |
|
No feedback provided - ticket closed. |
|
Still an issue in current master and limesurvey_survey_uploadBrokeCondition.lss Screencast |
|
Thanks for video, Denis. I will assign it to @gabrieljenik |
|
https://github.com/LimeSurvey/LimeSurvey/pull/1552 After loading the upload frame inside the modal, 'relevance:on' event handlers are lost. Contains also fix for 16549: Error message is shown while trying to delete and reupload file using File upload |
|
Tested issue by checking to branch, I am not able to upload file for 2nd question in the file imported |
|
@sushmanadendla, can you please retry now? |
|
@gabrieljenik i tried reproducing but still issue exist, I have cleared cache and tried. |
|
Applying same fix as in 16415, now for LSv4 Making the scripts url relative to the installation path, in case the installation is under a subfolder |
|
Tested below scenario's:
Please refer the screenshot for more details |
|
Able to do the file upload successfully. Please refer the attachment for more details |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=30408 |
|
Fixed in Release 4.3.13+200824 |
|
LimeSurvey: master 09da6655 2020-08-17 16:37 Details Diff |
Fixed issue 16194: file upload disables other clicks. After loading the upload frame inside the modal, 'relevance:on' event handlers are lost. Calling triggerEmRelevance() when closing the modal fixes the issue. Contains also fix for 16549: Error message is shown while trying to delete and reupload file using File upload |
Affected Issues 16194, 16549 |
|
mod - assets/packages/questions/upload/build/uploadquestion.js | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.min.js | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.min.js.map | Diff File | ||
mod - assets/packages/questions/upload/src/ajaxupload.js | Diff File | ||
LimeSurvey: master be5f29fc 2020-08-18 20:58 Details Diff |
Revert "Fixed issue 16194: file upload disables other clicks." This reverts commit 09da665557ea5e4b094ff4c4eabb9d821a14b878. |
Affected Issues 16194 |
|
mod - assets/packages/questions/upload/build/uploadquestion.js | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.min.js | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.min.js.map | Diff File | ||
mod - assets/packages/questions/upload/src/ajaxupload.js | Diff File | ||
LimeSurvey: master e3229069 2020-08-18 21:00 Details Diff |
Fixed issue 16194: file upload disables other clicks. After loading the upload frame inside the modal, 'relevance:on' event handlers are lost. Calling triggerEmRelevance() when closing the modal fixes the issue. Removes the cache for the currentUploadHandler. This wasn't working for multiple upload question in the same as it was caching it on a window level variable. Removed the cache for simplifiying. Contains also fix for 16549: Error message is shown while trying to delete and reupload file using File upload |
Affected Issues 16194, 16549 |
|
mod - assets/packages/questions/upload/build/uploadquestion.js | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.min.js | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.min.js.map | Diff File | ||
mod - assets/packages/questions/upload/src/ajaxupload.js | Diff File | ||
mod - assets/packages/questions/upload/src/modaldialog.js | Diff File | ||
mod - assets/packages/questions/upload/src/uploader.js | Diff File | ||
LimeSurvey: master dd0e3673 2020-08-18 22:57 Details Diff |
Revert "Fixed issue 16194: file upload disables other clicks." This reverts commit e3229069839435b28de88cfcd994be9873d64e78. |
Affected Issues 16194 |
|
mod - assets/packages/questions/upload/build/uploadquestion.js | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.min.js | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.min.js.map | Diff File | ||
mod - assets/packages/questions/upload/src/ajaxupload.js | Diff File | ||
mod - assets/packages/questions/upload/src/modaldialog.js | Diff File | ||
mod - assets/packages/questions/upload/src/uploader.js | Diff File | ||
LimeSurvey: master e5155535 2020-08-18 22:59 Details Diff |
Fixed issue 16194: file upload disables other clicks. After loading the upload frame inside the modal, 'relevance:on' event handlers are lost. Removed the jquery package as it was overstepping all the bindings previously done. Removes the cache for the currentUploadHandler. This wasn't working for multiple upload question in the same as it was caching it on a window level variable. Removed the cache for simplifiying. Contains also fix for 16549: Error message is shown while trying to delete and reupload file using File upload |
Affected Issues 16194, 16549 |
|
mod - application/controllers/UploaderController.php | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.js | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.min.js | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.min.js.map | Diff File | ||
mod - assets/packages/questions/upload/src/ajaxupload.js | Diff File | ||
mod - assets/packages/questions/upload/src/uploader.js | Diff File | ||
LimeSurvey: master 38437afb 2020-08-19 19:03 Details Diff |
Fixed issue 16194: file upload disables other clicks. Applying same fix as in 16415, now for LSv4 Reverting a change, mimicing a rollback done in chromium |
Affected Issues 16194 |
|
mod - application/controllers/UploaderController.php | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.js | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.min.js | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.min.js.map | Diff File | ||
mod - assets/packages/questions/upload/src/ajaxupload.js | Diff File | ||
LimeSurvey: master b238d266 2020-08-19 19:08 Details Diff |
Fixed issue 16194: file upload disables other clicks. Making the scripts url relative to the installation path, in case the installation is under a subfolder |
Affected Issues 16194 |
|
mod - application/config/config-defaults.php | Diff File | ||
mod - application/controllers/UploaderController.php | Diff File | ||
LimeSurvey: master 4195433d 2020-08-21 02:21 Details Diff |
Fixed issue 16194: file upload disables other clicks. Code Review |
Affected Issues 16194 |
|
mod - application/controllers/UploaderController.php | Diff File | ||
LimeSurvey: master 8697d482 2020-08-21 13:44 Committer: GitHub Details Diff |
Fixed issue 16194: File upload disables other clicks. |
Affected Issues 16194 |
|
mod - application/config/config-defaults.php | Diff File | ||
mod - application/controllers/UploaderController.php | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.js | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.min.js | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.min.js.map | Diff File | ||
mod - assets/packages/questions/upload/src/ajaxupload.js | Diff File | ||
mod - assets/packages/questions/upload/src/uploader.js | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-04-27 14:35 | ashvini | New Issue | |
2020-04-27 14:35 | ashvini | File Added: limesurvey_survey_552942 (1).lss | |
2020-04-27 15:01 | DenisChenu | Note Added: 57393 | |
2020-04-27 15:01 | DenisChenu | Note Edited: 57393 | |
2020-04-27 17:46 | ollehar | Note Added: 57397 | |
2020-04-28 07:25 | ashvini | Note Added: 57406 | |
2020-04-28 07:25 | ashvini | File Added: limesurvey_survey_928938.lss | |
2020-04-28 07:33 | ashvini | Note Added: 57407 | |
2020-04-28 08:45 | DenisChenu | Note Added: 57408 | |
2020-04-28 08:45 | DenisChenu | File Added: Peek 28-04-2020 08-45.gif | |
2020-04-28 08:46 | DenisChenu | Note Added: 57409 | |
2020-04-28 08:46 | DenisChenu | File Added: limesurvey_survey_uploadBrokeCondition.lss | |
2020-04-28 10:04 | ollehar | Priority | none => urgent |
2020-04-28 10:04 | ollehar | Severity | partial_block => crash |
2020-04-28 10:04 | ollehar | Description Updated | |
2020-04-28 10:04 | ollehar | Steps to Reproduce Updated | |
2020-04-28 10:04 | ollehar | Additional Information Updated | |
2020-04-29 14:31 | ashvini | Note Added: 57463 | |
2020-04-29 14:34 | DenisChenu | Note Added: 57464 | |
2020-04-29 14:38 | ollehar | Note Added: 57465 | |
2020-04-29 14:48 | DenisChenu | Note Added: 57466 | |
2020-04-30 11:53 | ashvini | Note Added: 57490 | |
2020-05-06 11:53 | ashvini | Note Added: 57573 | |
2020-05-06 11:58 | DenisChenu | Note Added: 57574 | |
2020-05-06 14:39 | ashvini | Note Added: 57583 | |
2020-05-11 12:13 | JHoeck | Category | Survey taking => File manager |
2020-05-11 13:24 | DenisChenu | Note Added: 57680 | |
2020-06-15 14:02 | ollehar | Category | File manager => Survey taking |
2020-06-22 21:47 | cdorin | Note Added: 58384 | |
2020-06-22 21:47 | cdorin | Priority | urgent => none |
2020-06-22 21:47 | cdorin | Status | new => feedback |
2020-08-05 14:08 | cdorin | Status | feedback => closed |
2020-08-05 14:08 | cdorin | Resolution | open => no change required |
2020-08-05 14:08 | cdorin | Note Added: 59323 | |
2020-08-05 15:17 | DenisChenu | Status | closed => new |
2020-08-05 15:17 | DenisChenu | Resolution | no change required => reopened |
2020-08-05 15:17 | DenisChenu | Note Added: 59324 | |
2020-08-05 15:17 | DenisChenu | Note Added: 59325 | |
2020-08-05 15:17 | DenisChenu | File Added: Peek 05-08-2020 15-17.gif | |
2020-08-05 16:30 | cdorin | Note Added: 59328 | |
2020-08-05 16:31 | cdorin | Assigned To | => gabrieljenik |
2020-08-05 16:31 | cdorin | Priority | none => normal |
2020-08-05 16:31 | cdorin | Status | new => confirmed |
2020-08-05 16:31 | cdorin | Zoho Sprints | => |Yes| |
2020-08-05 16:31 |
|
Zoho Sprints ID | => 14469000000206025 |
2020-08-17 14:39 | gabrieljenik | Note Added: 59480 | |
2020-08-18 15:23 |
|
Note Added: 59502 | |
2020-08-18 15:23 |
|
File Added: 16194_Fileupload_Disablesotherclicks.png | |
2020-08-18 21:05 | gabrieljenik | Note Added: 59514 | |
2020-08-19 12:18 |
|
Note Added: 59518 | |
2020-08-19 12:27 |
|
Note Edited: 59518 | |
2020-08-19 17:14 | gabrieljenik | Note Added: 59525 | |
2020-08-19 17:14 | gabrieljenik | Relationship added | related to 16589 |
2020-08-19 17:14 | gabrieljenik | Relationship added | related to 16549 |
2020-08-19 17:56 |
|
Note Added: 59527 | |
2020-08-19 17:56 |
|
File Added: image.png | |
2020-08-20 15:46 |
|
Note Added: 59557 | |
2020-08-20 15:46 |
|
File Added: FileUpload_otherclicks.png | |
2020-08-21 11:44 | ollehar1 | Changeset attached | => LimeSurvey master 8697d482 |
2020-08-21 11:44 | gabrieljenik | Changeset attached | => LimeSurvey master 4195433d |
2020-08-21 11:44 | gabrieljenik | Changeset attached | => LimeSurvey master b238d266 |
2020-08-21 11:44 | gabrieljenik | Changeset attached | => LimeSurvey master 38437afb |
2020-08-21 11:44 | gabrieljenik | Changeset attached | => LimeSurvey master e5155535 |
2020-08-21 11:44 | gabrieljenik | Changeset attached | => LimeSurvey master dd0e3673 |
2020-08-21 11:44 | gabrieljenik | Changeset attached | => LimeSurvey master e3229069 |
2020-08-21 11:44 | gabrieljenik | Changeset attached | => LimeSurvey master be5f29fc |
2020-08-21 11:44 | gabrieljenik | Changeset attached | => LimeSurvey master 09da6655 |
2020-08-21 11:44 | gabrieljenik | Note Added: 59569 | |
2020-08-21 11:44 | gabrieljenik | Resolution | reopened => fixed |
2020-08-24 11:40 | lime_release_bot | Zoho Sprints | Yes => |Yes| |
2020-08-24 11:40 | lime_release_bot | Note Added: 59585 | |
2020-08-24 11:40 | lime_release_bot | Status | confirmed => closed |