Steps to reproduce:

1. Create a solr index with a date field. (For example call it Index Nodes)
2. Create a view and select Show: Index Nodes. Create a block (or page) view.
3. Under the filter criteria, add your date field and set any condition (For example, = now)
4. Save the view.

When I click save, I get the error "The website encountered an unexpected error. Please try again later." In the logs I get the error: PHP message: Uncaught PHP Exception InvalidArgumentException: "The configuration property display.default.display_options.filters.field_start_date.value.min doesn't exist." at /var/www/html/drupal/core/lib/Drupal/Core/Config/Schema/ArrayElement.php line 74

I applied the patch #145 from https://www.drupal.org/node/2369119 which seems to fix regular content views, but not views using solr indexes.

Comments

sagesolutions created an issue. See original summary.

sagesolutions’s picture

FYI, this was working on an earlier version of Drupal 8, but now its broken.

I am currently running Solr 6.3.0 on Drupal 8.2.5 with Search API 8.x-1.0-beta4 and Search API Solr Search 8.x-1.0-beta1

Any help would be appreciated.

Thanks!

daxelrod’s picture

Status: Active » Closed (duplicate)
Related issues: +#2843854: Test functionality of (not exposed) date filters

Test case for reproducing in #2843854: Test functionality of (not exposed) date filters.

I too noticed the issue for Search API Solr, but the issue is reproducible with the database index as well, so this is probably a Search API issue.