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
Weird error for collation = '' #14987
Comments
|
@williamdes, Can you explain the expected behaviour like. if it should set some default collation, or it should simply give error? :) |
|
@kartik1000 Select the empty option in the collation list and execute "change all tables collations" |
|
This issue happens because users are not required to select any particular value within the dropdown list. When PMA sees that nothing has been selected, i.e. $_POST['db_collation'] is not set when the form is POSTed, then it's as good as if a user has just navigated to the page. Hence the response is a new form as shown in the screenshot by @OlafvdSpek. I will work on a fix for this issue. I propose to add a check for the select field. This way, the user will be presented with an error message if they ever selected the blank option. |
|
LGTM 👍.Hey @sijie123 I would suggest you to wait for @williamdes 's opinion about this one |
I agree! |
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
https://demo.phpmyadmin.net/master-config/db_operations.php?db=Books
Select blank collation, click Go.
The text was updated successfully, but these errors were encountered: