[TYPO3-v4] Lenght of type int fields in pages and tt_content
Christian Kuhn
lolli at schwarzbu.ch
Sat Apr 16 17:52:03 CEST 2011
Hey Dmitry,
On 04/16/2011 05:33 PM, Dmitry Dulepov wrote:
> Th is is not a -1 because I do not really understand what you tried to
> do with this.
The idea is to handle a field like tt_content:colPos similar to what is
done with exception codes:
To make (pretty much) sure that an exception code is unique, the current
unix timestamp when coding this exception is taken as code
($e->getCode()) field. This idea was taken from FLOW3 and it is imho
pretty neat for exceptions.
Extbase has a similar recommendation when it comes to 'registering' FE
types: Just take current timestamp to get a unique type which doesn't
clash with anyone's elses types (eg. everyone uses "100").
So, this request is about making some db fields in core big enough to
take timestamps instead of integers up to 256 only.
Regards
Christian
More information about the TYPO3-project-v4
mailing list