- Issue created by @roromedia
Using Umlauts in Filter Name leads to Database Error.
Add german umlauts like "äöü" in the title of any filter leads to an error in the AJAX saving call. Here is the complete error log message:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\xC3\xA4\xC3\xB6\xC3\xBC' for column `c1m`.`views_save_search_filter`.`filter_title` at row 1: INSERT INTO "views_save_search_filter" ("filter_title", "filter_url", "view_id", "user_id", "username", "created") VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5); Array ( [:db_insert_placeholder_0] => äöü
Encode umlauts or other special characters correctly.
Active
1.1
Code