Skip to content

Uncaught db error if task description is too long #134

@dalers

Description

@dalers

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! :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions