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 #1

Updated by Susanne Moog almost 7 years ago

  • Category set to DataHandler aka TCEmain
Actions #2

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?

Actions #3

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 :)

Actions #4

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

Actions

Also available in: Atom PDF