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.
Updated by Susanne Moog almost 7 years ago
- Category set to DataHandler aka TCEmain
Updated by Benni Mack over 6 years ago
- Status changed from New to Needs Feedback
Hey,
well, EXEC_TIME does not change during one request. So you do multiple requests?
Updated by Alexander Götz over 6 years ago
- TYPO3 Version changed from 7 to 8
Hi,
that was a long time ago I had this issue and don't remember my use case.
I think you're right and i worked with multiple requests.
You can close the issue. Sorry, that was my fault :)
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Needs Feedback to Closed
Thank you for your feedback; I close this issue for now;
If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or open a new issue with a reference to this one.
Thank you again and best regards