Problem/Motivation

The module is freshly installed, the Vidstack (Local) formatter is selected. When trying to edit the formatter settings, the spinner runs forever and we have multiple:

Warning: Trying to access array offset on null in Drupal\field_ui\Form\EntityDisplayFormBase->copyFormValuesToEntity() (line 633 of X/web/core/modules/field_ui/src/Form/EntityDisplayFormBase.php).

in the Drupal log.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

thomas.frobieter created an issue. See original summary.

anybody’s picture

@grevil, I think best will be to step-debug that...
Hope it wasn't caused by #3520976: Fix autoPlay vs. autoplay typo in code but the module wasn't installed there before, so typically *should* not be the case.

anybody’s picture

I got this message now when trying to configure the formatter:
Warning: Undefined array key "field_mime_type" in Drupal\field_ui\Form\EntityDisplayFormBase->copyFormValuesToEntity() (Zeile 615 ...

anybody’s picture

@grevil: I tried to unblock @thomas.frobieter and commented out all the field formatter settings code, but with no luck... the issue persists. So I'm wondering if we're inheriting this issue from FileMediaFormatterBase maybe?

Hopefully you'll be able to step-debug it easily, this is really strange... I thought the field selection for the poster image was maybe trying to handle non-existing fields or base-fields... but commenting out the code should have fixed that...

anybody’s picture

anybody’s picture

Assigned: grevil » Unassigned

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.