MantisBT: master 339cf883

Author Committer Branch Timestamp Parent
atrol atrol master 2018-03-01 02:53 master 4ca27bb0
Affected Issues  0024056: Custom Fields of type "Textarea" cannot contain more than 255 chars due to bug_history table
Changeset

Truncate values before writing to database history table

TEXTAREA custom fields can contain more than 255 characters.
Changing such fields fails, as the new value can't be stored
in history table.

This change fixes the issue by truncating the string.
See 0024056 for other options to fix it.

Fixes 0024056

mod - core/constant_inc.php Diff File
mod - core/history_api.php Diff File