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 |
Reporter | 123 | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | 2.21.1 | ||||
Summary | 0025892: Incorrect operation of the helper_generate_cache_key() function. | ||||
Description | 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: |
|
@123, my understanding is that this issue is effectively fixed by @cproensa's fix for 0024189; I will therefore resolve it as duplicate. If you disagree with this, please feel free to reopen. |
|