Project

General

Profile

Actions

Bug #38403

closed

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

Added by Bart Dubelaar almost 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2012-06-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions

Also available in: Atom PDF