Formatter functions are missing the FileMediaFormatterBase parent:: calls

Created on 24 April 2025, 4 days ago

Problem/Motivation

Through 🐛 Unable to edit the formatter settings (Warning: Trying to access array offset on null in Drupal\field_ui\Form\EntityDisplayFormBase->copyFormValuesToEntity()) Active and https://git.drupalcode.org/project/leaflet/-/commit/099db9b I saw that the methods in the formatters / Trait are missing the parent:: calls in all relevant functions!

This is important because we lose their implementation, at least if they change.
Sadly that does not fix the parent issue, but should also be fixed and I think the Trait would be the right place, combined with 📌 VidstackPlayerFormatterTrait::getSharedSettings() should be called ::settingsForm()? Active

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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