Gideon So

Error when adding new page with non-ascii characters in a page field

Recommended Posts

I create a page reference field that allows user to create new page in the page edit page. I 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 '='

 think it worked fine before I upgraded to 3.0.115.

Any idea?

Gideon

Share this post


Link to post
Share on other sites

Hi,

I think this is a bug in the Page Reference field  which was introduced after core version 3.0.106. I tested it with both multi-language and single language setting. Both of them give the same error when trying to create a page with non ASCII page name in the page edit page. Should I report this to the github bug issue?

Gideon

Share this post


Link to post
Share on other sites

Hi,

After testing with different version of the core. I found that the creation of page in page field function normally up to 3.0.110. It doesn't work anymore from 3.0.111. I will file a bug report to github.

Gideon

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.