[TYPO3-dev] unexistent GLOBALS return NULL instead of ""
Wim Roukema
wim.roukema at home.nl
Tue Jan 21 17:04:50 CET 2014
Even een vervolg op mijn vorige email:
Blijkbaar is het onze cliëntele niet duidelijk dat het geen zin heeft
om door te gaan bij een "timeout". Mijn advies is dat je de
foutsignalen aanpast. Niet meer volstaan met:
"Die Zeit für die Buchungsabwicklung ist abgelaufen"
Maar daar aan toevoegen: ga terug naar de camping pagina en start het
boekingsproces opnieuw. Doorgaan heeft geen zin. (of iets dergelijks).
Mijn oplossing: aanpassen javascript. Zodra er een timeout is gegeven
wordt de action van de bevestigingsknop gewist. Je komt dan in ieder
geval niet op de succespagina.
Quoting Thomas Sperling <moppie.mop at gmx.de>:
> Hello,
> currently I upgrade a TYPO3-System up to 6.2dev.
> I got several Errors like: "ERROR Column 'cruser_id' cannot be null
> lastBuiltQuery INSERT INTO sys_file_metadata
> (file,pid,crdate,tstamp,cruser_id) VALUES
> ('2258','0','1390303717','1390303717',NULL)"
> OR
> "Column 'cookie' cannot be null
> lastBuiltQuery INSERT INTO index_stat_search
> (searchstring,searchoptions,feuser_id,cookie,IP,hits,tstamp) VALUES
> ('test',...,...,NULL,.....)
>
> In the problem is that an empty $this->fe_user->id and a empty
> $GLOBALS['BE_USER']->user['uid'] result into NULL and not in an
> empty string. Is this a bug, does someone know this problem?
>
> Regards,
> Thomas
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>
More information about the TYPO3-dev
mailing list