Bug #79148
closedMissing Flash Messages generated from sys_log table
0%
Description
Hi there,
I figured out a problem in the printLogErrorMessages function at DataHandler class.
The query which should select all relevant sys_log entries just selects the ones with tstamp equals $GLOBALS['EXEC_TIME']. I think it should select all that equals or are higher then that time.
My current problem:
I've a view time expensive functions. After they are done I call the log function of the DataHandler to log any occuring errors.
This log function calls writelog from BackendUserAuthentication class which creates the actual sys_log entry with tstamp = time().
In my case sometimes tstamp equals the exec_time and sometimes not. In this cases the Flash Messages aren't created because of the select at printLogErrorMessages function.
I've tested this behavior with 7.6.15 and took a quick look into the current master. I guess the problem should also be reproducable there.