Hello there,

first of all thank you for bringing this awesome module to Drupal 8. It looks great and makes file management so much easier.

Unfortunately, I ran into a bug that if you enable IMCE in form display for a field and you use the standard file upload form instead of the "Open Browser" option from IMCE, it'll make two entries in the file_managed table. You actually see two throbbers for the AJAX call.
This double entry for the same file causes one of the entries to have status 0 (temporary) and deletes the files on the next cron run. This leaves the other entry with status 1 without a file and the image in my case is broken.

I was wondering, if you ran into this issue as well and where I can start to look for a solution. Like how is that AJAX call triggered.
My current work around is to upload all files through IMCE and then choosing it on the file field.

Thank you!

Comments

johannez created an issue. See original summary.

  • ufku committed ac6670a on 8.x-1.x
    Issue #2746047: Removed unnecessary fielfield button to prevent file.js...
ufku’s picture

Status: Active » Fixed

Committed a fix.
Thanks for reporting.

johannez’s picture

Wow...that was fast. Thank you so much!!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.