[RESPDAM-40] Upload.SucceededEvent is not fired in case of uploading image via Drag'n'Drop Created: 29/Oct/20 Updated: 14/Feb/22 Resolved: 30/Oct/20 |
|
| Status: | Closed |
| Project: | DAM Focal |
| Component/s: | None |
| Affects Version/s: | 2.0.2 |
| Fix Version/s: | 2.0.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marcel Koch | Assignee: | Adrien Manzoni |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 0d | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: | |
| Sprint: | Sprint 9 |
| Description |
|
If you drag the image file from the Windows Explorer oder the macOS finder info.magnolia.dam.focal.field.FocalDamUploadField#fireUploadEvent is not invoked. The cause is that in the case of dragging the image to the upload field the event com.vaadin.ui.Upload.SucceededEvent within com.vaadin.ui.Upload is not fired. Since we adopted the approach in a custom logic which is even more important than the DAM Focal feature it's a major issue to us. Is there any support you can give if this is a known issue and it will be fixed by you or Vaadin? |
| Comments |
| Comment by Adrien Manzoni [ 30/Oct/20 ] |
|
The issue is actually not coming from Vaadin but more from the core UploadField of Magnolia. The upload process is different if you use the button or the upload area. I have change the event listening from the button to the highest Vaadin component, now it works. |
| Comment by Adrien Manzoni [ 30/Oct/20 ] |
|
Target release 2.0.3 |