Issue Bug Closed

#23871Increase DB-fields spaceBefore and spaceAfter

Henrik Ziegenhain 10/29/10, 13:37 updated 03/29/11, 17:47

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)

Reviews 0

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