- Issue created by @rahaf albawab
- Status changed to Postponed: needs info
6 months ago 1:35pm 24 June 2024 - 🇵🇱Poland Graber
Just pasting error trace is not enough for maintainers to decide what to do with an issue. Please provide mor information, steps to reproduce ideally.
- 🇯🇴Jordan Rajab Natshah Jordan
Me too, I agree with Marcin, I was not able to provide a steps to reproduce with Drupal ~10.3.0
Clear steps to reproduce are important with Vanilla Drupal Core + many assembled and used modules.Thanks, Rahaf, for reporting and patching.
Our case has number of integrated modules, and added the Created date (from) - Created date (to) date filters to the content, people, and media views."drupal/date_filter": "~1", "drupal/views_bulk_edit": "~2", "drupal/views_bulk_operations": "~4", "drupal/better_exposed_filters": "~7",
Filters in the Content view
Filters in the Media Library view
Filters in the People view
Created date (from) filter
Created date (to) filter
Exposed form options for dates - default
- Merge request !13Issue #3456731: Fix the Warning: Array to string conversion in the get processed date base views when the filter is empty → (Open) created by Rajab Natshah
- 🇯🇴Jordan Rajab Natshah Jordan
When having multiple empty date filters in the form.
Attaching a staticdate_filter--2024-08-25--3456731--mr-13.patch
file.
To be used with Composer Patches - 🇯🇴Jordan Rajab Natshah Jordan
Having more cases when
isset($value['date'])
orisset($value['time'])
the patch fix is not working in all cases. - 🇯🇴Jordan Rajab Natshah Jordan
Not related to the Date filter module.
The date filter should be sat when using Better Exposed Filters
Exposed filter widget:
It should be changed to Default, not - Status changed to Closed: works as designed
4 months ago 3:41pm 25 August 2024 - 🇯🇴Jordan Rajab Natshah Jordan
rajab natshah → changed the visibility of the branch 3456731-fix-warning-array to hidden.
- 🇯🇴Jordan Rajab Natshah Jordan
This issue will happen when installing with an old config, which still uses the leftover
"bef_datepicker"
for the plugin id.
But the bef_datepicker is no longer in use ( in our case )Changed
"display.default.display_options.fields.exposed_form.options.bef.filter.created"
and"display.default.display_options.fields.exposed_form.options.bef.filter.created_1"
created: plugin_id: bef_datepicker created_1: plugin_id: bef_datepicker
To
created: plugin_id: default created_1: plugin_id: default