Project

General

Profile

Actions

Bug #79148

closed

Missing Flash Messages generated from sys_log table

Added by Alexander Götz almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2017-01-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions

Also available in: Atom PDF