Closed (fixed)
Project:
Webform DropzoneJS
Version:
8.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Nov 2018 at 11:12 UTC
Updated:
6 May 2019 at 21:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
krzysztof domańskiI have the same problem (Webform 8.x-5.0-rc26). I checked the history of the Webform module!
Notice: All examples in this comment are for the Webform module.
Webform DropzoneJS worked at that time:
Webform DropzoneJS has stopped working after commit issue #3010084.
I analyzed. The problem is commit 993ca2e2d794bb3323101b1890e8f21d644a9f34.
Important: The contents of the scripts file (webform.element.managed_file) do not matter. I've attached an empty file and Webform DropzoneJS also does not work:
I don't know why, but attaching anything causes a problem.
Comment #3
krzysztof domańskiThere are no logs in the watchdog reports.
Comment #4
ytsurkI got it all working just by using a different library from dropzone. So this is not webform related ..
Try this patch - don't forget to rebuild the cache after applying it!
Comment #5
ytsurkComment #6
ytsurkComment #7
lamp5Thanks @ytsurk for your work and patch. I tested it with webform 5.1.0 and can confirm that working good. +1 to RTBC
Comment #8
malcomio commentedPatch seems to do the trick with webform 5.1.0 as far as I can see
Comment #10
chrisroane commentedI took a look at this problem. The patch fixed the core issue, but I noticed other problems. I updated the code and confirmed things work with the latest webform module, including webform 5.3-beta1. I also tested with the latest dropzonejs code and module.
The latest code also includes a fix to get the admin to work with the dropzone field correctly. You can now add/delete files in a dropzone field in submissions, and when you update the submission, it will not clear out the files on this field.
Comment #11
chrisroane commented