View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0025892||mantisbt||bugtracker||public||2019-06-28 03:46||2019-08-02 15:59|
|Summary||0025892: Incorrect operation of the helper_generate_cache_key() function.|
Statuses are displayed as black squares if you make a full update on the page login_password_page.php in the process of user reauthentication.
This situation can occur both as a result of the user's active actions, for example, if he presses Shift + F5 or as a result of the operation of the built-in mechanisms for updating the cache by the browser.
This behavior occurs because the helper_generate_cache_key () function uses the current_iser_id, which on this page is equal to the current user, as the salt in the process of generating the cache key. In this case, status_config.php gives an empty response if the referer_page is equal to login_password_page.php. Further, the browser caches the file with the correct key and empty contents and does not attempt to update it when returning to the system.
|Steps To Reproduce|
Here is a sequence of actions that will lead to a black status:
After that, all statuses will be displayed as black squares.
|Tags||No tags attached.|
Thanks for your analysis, and good work on catching the cause of this bug!
So, i'll put the issue the other way:
I think the proper solution is to solve why that css is not generated correctly at that point.
I have submitted a different fix: