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

Uncaught db error if task description is too long #134

Open
dalers opened this issue Jun 27, 2023 · 0 comments
Open

Uncaught db error if task description is too long #134

dalers opened this issue Jun 27, 2023 · 0 comments

Comments

@dalers
Copy link

dalers commented Jun 27, 2023

Entering 292 characters for a task description results in error message "MDB2 Error: unknown error" after clicking Save. If the text is only 184 characters is it saved correctly.

The cause seems obvious since the task description field in the tt_tasks table is defined as varchar(255), but it would be nice addition to display a helpful message instead (also adds confidence to know nothing really bad happened).

Time Tracker version: 1.22.18.5805
PHP version: 8.0.28
MariaDb version: 10.5.20
Apache version: 2.4.56

Thanks for a great app, I've been using it daily since August 2015! :-)

anuko added a commit that referenced this issue Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant