Can't remove attached image

Created on 5 October 2016, over 7 years ago
Updated 21 March 2023, over 1 year ago

Using latest dev version (released today 2016-Oct-05), however I think this error started before today's release.

Attempting to remove images using the Remove button now generates an ajax error and logs the following:

Notice: Undefined offset: -1 in Drupal\entity_browser\Plugin\Field\FieldWidget\EntityReferenceBrowserWidget->formElementEntities() (line 614 of /modules/contrib/entity_browser/src/Plugin/Field/FieldWidget/EntityReferenceBrowserWidget.php).

Thanks @joshua for providing a patch!

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Widget plugins

Created by

πŸ‡¬πŸ‡§United Kingdom glynnr

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