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

[2.1.4]: Renaming a ban fails with Database Error if name is too long #8019

Open
sagamusix opened this issue Jan 14, 2024 · 0 comments
Open

Comments

@sagamusix
Copy link
Contributor

Basic Information

Trying to rename a ban will fail with an opaque Database error if the name is too long, even though the input field itself has no length limit. Reading the admin error logs reveals the problem: Database Error: Data too long for column 'name' at row 1 (source location: ManageBans.php, line 1564)

Steps to reproduce

  1. Edit an existing ban
  2. Rename the ban name to something moderately lengthy
  3. Observe Database Error.

Expected result

The input field should be limited to maximum permitted length.

Actual result

No response

Version/Git revision

2.1.4

Database Engine

MySQL

Database Version

No response

PHP Version

No response

Logs

No response

Additional Information

No response

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

1 participant