Closed
Description
Short description of the issue
Error when adding new page with non-ascii characters in a page field
Expected behavior
Page should be successfully created without any error.
Actual behavior
Error occurs and page not get created
Optional: Screenshots/Links that demonstrate the issue
Optional: Suggestion for a possible fix
NIL
Steps to reproduce the issue
- create a page reference field that allows user to create new page in the page edit page.
- try to create a new page with non ASCII characters in the page reference field.
- got this error:
Error adding page "一二三" - SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (ascii_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='
Setup/Environment
- ProcessWire version: this bug was introduce in 3.0.111 and remains till 3.0.115
- (Optional) PHP version: 7.2.10 and 5.6.29