Entity browser inline form widget throws warning for bundle-less entities

Created on 31 May 2022, about 2 years ago
Updated 12 December 2023, 7 months ago

Problem/Motivation

When using browser inline for complex widget with entities that do not have any bundles, the module throws this warning:

Undefined index: target_bundles in entity_browser_entity_form_inline_entity_form_reference_form_alter() (line 55 ...

Ajax fails from fetching an entity via browser due to the warning.

Proposed resolution

The module code has to be tweaked at line 55 to check NULL instance.

πŸ› Bug report
Status

Closed: duplicate

Version

2.0

Component

Widget plugins

Created by

fathima.asmat London, UK

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