2825487 broke custom formatters

Created on 27 March 2018, over 6 years ago
Updated 19 February 2023, over 1 year ago

Problem/Motivation

Due to

+    $fields['uri'] = BaseFieldDefinition::create('file_uri')

custom formatters configured for files no longer work, as they are not supported for this new field type.

This is for example problematic when you use the file_entity module.

Proposed resolution

1) Copy over all formatters from uri to file_uri
2) Do something like 🐛 Not possible to reuse field formatters between entity_reference, file, and image fields Needs work

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs work

Version

10.1

Component
File system 

Last updated 1 day ago

Created by

🇩🇪Germany dawehner

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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.71.5 2024