Missing file entity filesize property

Created on 17 June 2024, 10 months ago

Problem/Motivation

When saving a new Cloudinary media entity using the provided media source in the cloudinary_media_library_widget module, the filesize attribute is not populated. This is especially a problem when using the CloudinaryRaw field type for using files and documents stored in Cloudinary.

Steps to reproduce

* Enable the cloudinary_media_library_widget module
* Create a new media type using Cloudinary as source and CloudinaryRaw / document as source type
* Create a media entity of this type
* Result: the filesize is not displayed when the media entity is rendered

Proposed resolution

When generating a file entity set the filesize property as was done in the past with the cloudinary media type plugins.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇧🇪Belgium klaasvw

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024