Project

General

Profile

Actions

Bug #23871

closed

Increase DB-fields spaceBefore and spaceAfter

Added by Henrik Ziegenhain about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-10-29
Due date:
% Done:

0%

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

Description

Problem:
Sometimes it is necessary to enter more than 255px margin before or after a CE.
At the moment the corresponding fields in DB are tinyint which can only hold 255 as maximum.

Solution:
Increase these fields to smallint, this should be enough :)
"For example, a column specified as SMALLINT has the usual SMALLINT range of -32768 to 32767, and values outside the range permitted by three digits are displayed in full using more than three digits." dev.mysql.com

How to reproduce:
- Enter 300 to spaceAfter and save
- check whats in this field now: 255
- apply the attached patch
- Enter 300 to spaceAfter and save
- check whats in this field now: 300

(issue imported from #M16170)


Files

bug_16170.diff (1.37 KB) bug_16170.diff Administrator Admin, 2010-10-29 13:38
16170_v03.diff (1.49 KB) 16170_v03.diff Administrator Admin, 2010-10-29 14:52
Actions

Also available in: Atom PDF