Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evolutions fail silently when using special characters (e.g. ö) #430

Open
AmazingDreams opened this issue Feb 13, 2018 · 0 comments
Open

Comments

@AmazingDreams
Copy link

AmazingDreams commented Feb 13, 2018

Evolutions fail without error when using special characters like ö. It just keeps asking to run the evolution. I have included a reproduction script below.

Now I've tried to change the character set of the play_evolutions table to utf8 but as that doesn't make any difference at all I'm assuming this is due to something in the code somewhere. Furthermore the special character needs to be removed entirely from the script. Commenting out is not enough.

Play version: 2.6.11
Play-slick version: 3.0.2
Mysql-connector-java version: 5.1.44

Reproduction evolution script:

# --- !Ups
CREATE TABLE whatever (
    text    VARCHAR(255)    NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

INSERT INTO whatever (text) VALUES ('ö'); # Remove to succeed
INSERT INTO whatever (text) VALUES ('o');

# --- !Downs
DROP TABLE IF EXISTS whatever;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants