Undefined array key #default_value in BetterExposedFilters.php

Created on 21 March 2023, over 1 year ago
Updated 19 April 2024, 7 months ago

Drupal core: 9.5.4.
Steps to reproduce:
1. Create(for example) "Media Tags" taxonomy vocabulary if not exist. Add a couple of test tags.
2. Go to the admin/structure/views/view/media_library/edit/widget_table(or page or widget). Update the views "Exposed form" to use the "Better Exposed Filters". Add the "Reset" button to the form.
3. Add the Media Tags field to the "Filter Criteria" of the view.
4. Make the Media Tags filter exposed.
5. Select the "Operator" and in the "Select terms from vocabulary Media Tags" select list do not select any option(leave blank).
6. Save the changes.
7. Go to any content type. Create(if such does not exist) a new field with the type "Media"(a reference to the media image).
8. Create a new page(or edit if such exists) with the media image field.
9. Select an option from the Media Tags field in the Media Library widget. Click the "Reset" button.
10. Nothing happens.

πŸ› Bug report
Status

Closed: outdated

Version

5.2

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine olegrymar

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024