Add a computed 'file_url' property to FileItem (for exposing file URL in file field normalization)

Created on 22 November 2017, over 6 years ago
Updated 13 May 2024, about 1 month ago

Problem/Motivation

See #2825487-128: Fix normalization of File entities: file entities should expose the file URL as a computed property on the 'uri' base field β†’ :

[This patch] fixes it for File entities, NOT file fields! That was the original scope of the issue. The problem to this day, however, is that you cannot get the URL for a File entity at all. And file fields always
point to a File entity. Therefore, I think changing the normalization of file fields (by adding a computed property to file fields) is a nice-to-have follow-up. This current scope of the patch is the must-have. The current patch allows one to follow a file field's reference to a File entity, get the File entity, and in there the file URL can be found.

This is that nice-to-have follow-up issue.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Needs work

Version

11.0 πŸ”₯

Component
File moduleΒ  β†’

Last updated about 6 hours ago

Created by

πŸ‡§πŸ‡ͺBelgium Wim Leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024