[TYPO3-core] RFC: Feature 16170: Increase DB-fields spaceBefore and spaceAfter

Henrik Ziegenhain lists at h3nn3s.info
Fri Oct 29 13:43:11 CEST 2010


This is an SVN patch request.

Type: Feature

BT: http://bugs.typo3.org/view.php?id=16170

Branches: trunk

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(3) 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

Regards
Henrik
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_16170.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101029/32818714/attachment.txt>


More information about the TYPO3-team-core mailing list