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|
|Target Version||Fixed in Version|
|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:
|2019-06-28 03:46||123||New Issue|
|2019-06-28 03:46||123||Issue generated from: 0024189|
|2019-06-28 03:46||123||Relationship added||related to 0024189|
|2019-06-28 04:06||123||Note Added: 0062330|
|2019-06-28 05:13||dregad||Assigned To||=> community|
|2019-06-28 05:13||dregad||Status||new => assigned|
|2019-06-28 05:13||dregad||Target Version||=> 2.22.0|
|2019-07-09 07:18||cproensa||Note Added: 0062372|
|2019-07-09 09:24||cproensa||Note Added: 0062373|
|2019-07-15 10:29||dregad||Assigned To||community => dregad|
|2019-07-15 10:29||dregad||Target Version||2.22.0 =>|
|2019-07-15 10:29||dregad||Note Added: 0062389|
|2019-07-15 10:29||dregad||Status||assigned => resolved|
|2019-07-15 10:29||dregad||Resolution||open => duplicate|
|2019-07-15 10:29||dregad||Relationship replaced||duplicate of 0024189|
|2019-08-02 15:59||atrol||Status||resolved => closed|