huridocs / uwazi

Uwazi is a web-based, open-source solution for building and sharing document collections
http://www.uwazi.io
MIT License
244 stars 80 forks source link

Uploading ZIP file results in Image/Media files error #7509

Open sms-sudo opened 2 days ago

sms-sudo commented 2 days ago

When I upload a zip file able to mass import entities but images/media are listed as "This file type is not supported on image fields."

image

Images listed in the Attachments column for supporting files don't have this issue and are displayed normally. There is a buffer period in which the images/media are displayed:

image

but then subsequently load back into the error:

image

Is mass upload of images/media not supported yet in zip files if we want them to display outside of Primary Documents/Supporting files?

sms-sudo commented 2 days ago

I originally thought it could be that the images/media are not being uploaded (and perhaps https://github.com/huridocs/uwazi/issues/7460 following this issue, are actually not found instead of type not being supported), but as shown in test1 entity, the images that are shown under supporting documents are the same as those that should be displayed.