Issue Bug Closed

#38403The log_data field in sys_log is too small, serialized data gets corrupted.

Bart Dubelaar 06/26/12, 15:00 updated 10/02/18, 12:17

Description

When adding a comment for a stage change in workspaces, this comment is stored in the log_data field of the sys_log table.
This field can only hold 255 characters. It is not unlikely that a comment is longer than 255 chars. If the field would only hold a comment then the issue would not be that severe, but the field holds a serialized array with other data as well. This other data (a.g. stage id) is corrupted or lost when a long comment is entered.

Suggested fix: change the field to TEXT and also limit the amount characters that can be entered at the stage change in workspaces.

Holds for 4.5 up till 6.0.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.