[TYPO3-core] FYI24: #16608: Javascript flashmessage miss named severity

Steffen Kamper info at sk-typo3.de
Mon Nov 29 23:28:09 CET 2010


Hi Ernesto,

Ernesto Baschny [cron IT] schrieb:
> Unfortunate is that we have added it only now, and the "numbers" are
> already being used on the field. This is unfortunate considering that
> the numbers don't match the ones we use in PHP based flash messages:
> 
>         const NOTICE  = -2;
>         const INFO    = -1;
>         const OK      = 0;
>         const WARNING = 1;
>         const ERROR   = 2;
> 
> But this is just a side-note on that topic. Is discussed in a huge topic
> on the v4 list already ("Harmonizing severity levels").
> 

yes, i read this. The flashmessages were introduced in 4.4, but not used 
in core. I think i'm the first one with new EM. So maybe we "can" change 
it to range -2 to 2? using named vars is the safe way anyways.

vg Steffen


More information about the TYPO3-team-core mailing list