View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0021068 | mantisbt | bugtracker | public | 2016-06-08 00:06 | 2016-06-12 00:53 |
Reporter | vboctor | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.20 | ||||
Summary | 0021068: Intermittent "error 2300 token not found" | ||||
Description | There is an intermittent error that I don't have repro steps for where users get "error 2300: token not found" error when taking an action, e.g. manage or others. Users who get this error often get out of it and don't necessarily get it again. So it can be a state that gets fixed. Also this error started happening recently, so I'm suspecting checking fd47e9c8cb4d41e0d9ce9785c8b3d79b905fdd46 and issue 0020824 by @dregard. Didn't set the version since this happens on master, but wasn't part of 1.3.0-rc.1. | ||||
Tags | No tags attached. | ||||
This was indeed a regression introduced by 0020824. In some rare cases, collapse_cache_token() would attempt to touch a token that does not exist. This can happen when the current user does not have any TOKEN_COLLAPSE token, and the MANTIS_collapse_cookie contains a non-empty value that does not form a valid, colon-delimited pair. |
|
Removed the fixed in version and target version since this was introduced between versions and hence shouldn't show up in changelog. Thanks for the fix. |
|
MantisBT: master bd5a685f 2016-06-11 15:19 Details Diff |
Fix intermittent "error 2300 token not found" In some rare cases, collapse_cache_token() would attempt to touch a token that does not exist. This can happen when the current user does not have any TOKEN_COLLAPSE token, and the MANTIS_collapse_cookie contains a non-empty value that does not form a valid, colon-delimited pair. The issue has been addressed by adding a token_exists() check prior to calling token_touch(). Fixes 0021068 |
Affected Issues 0021068 |
|
mod - core/collapse_api.php | Diff File | ||
MantisBT: master-1.2.x 6fec95fd 2016-06-11 15:19 Details Diff |
Fix intermittent "error 2300 token not found" In some rare cases, collapse_cache_token() would attempt to touch a token that does not exist. This can happen when the current user does not have any TOKEN_COLLAPSE token, and the MANTIS_collapse_cookie contains a non-empty value that does not form a valid, colon-delimited pair. The issue has been addressed by adding a token_exists() check prior to calling token_touch(). Fixes 0021068 |
Affected Issues 0021068 |
|
mod - core/collapse_api.php | Diff File |