Problem/Motivation

This issue related to
#3051658: Make dropzonejs widget available to the new Media Library in core

Steps to reproduce

When applying dropzonejs widget on the media image field
and upload image dropzonejs widget
Then it addes _0 on all images path
like this when upload image "test.png"
after upload and check image path /sites/default/files/test_0.png

Proposed resolution

Update the patch for #3051658: Make dropzonejs widget available to the new Media Library in core

Remaining tasks

  • Check the current patch
  • Check the new patchs
  • trablshoote the issue if not releated to the patch

User interface changes

None

API changes

None

Data model changes

None

Comments

alaa abbad created an issue. See original summary.

rajab natshah’s picture

Title: Dropzonejs widget add _0 on all images path » Fix Dropzonejs widget issue of adding _0 on all image file names
Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Priority: Normal » Critical
rajab natshah’s picture

I confirm having the issue

  • Test Media library with Dropzonejs ( Having the issue)
  • Test Entity browser with Dropzonejs ( Not having the issue )

It feels that the patch in #3051658: Make dropzonejs widget available to the new Media Library in core
is uploading 2 times in the temp then adding the _0

rajab natshah’s picture

  • RajabNatshah committed 0247a77 on 8.x-7.x
    Issue #3192282 by alaa abbad: Fix Dropzonejs widget issue of adding _0...

  • RajabNatshah committed 135a3e4 on 8.x-7.x
    Issue #3192282 by alaa abbad: Update Dropzonejs module from 2.3 to 2.4
    

  • RajabNatshah committed 6e85e73 on 9.0.x
    Issue #3192282: Update Dropzonejs module from 2.3 to 2.4
    
rajab natshah’s picture

Assigned: Unassigned » mohammed j. razem
Status: Active » Needs review
Issue tags: +varbase-8.8.9, +varbase-9.0.0-rc2, +varbase-9.0.0
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned

  • RajabNatshah committed 6f440b2 on 8.x-7.x
    Issue #3192282 by alaa abbad: Fix Dropzonejs widget issue of adding _0...
rajab natshah’s picture

Status: Needs review » Fixed

  • RajabNatshah committed 6fdbfbf on 9.0.x
    Issue #3192282 by alaa abbad: Fix Dropzonejs widget issue of adding _0...
rajab natshah’s picture

Status: Fixed » Closed (fixed)