View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020326 | mantisbt | installation | public | 2015-11-28 18:52 | 2015-12-06 02:45 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.0-beta.1 | ||||
Target Version | 1.3.0-rc.1 | Fixed in Version | 1.3.0-rc.1 | ||
Summary | 0020326: PHP notice when converting tokens from php seralized to json | ||||
Description | This follows the introduction of json tokens (in commit 9dfc5fb6edb6da1e0324ceac3a27a727f2b23ba7). Depending on how the upgrade is performed, it may happen that the DB contains tokens already in json format. In such case, depending on error settings, a PHP notice can be shown to the user which is confusing because the upgrade step's status is GOOD and the upgrade completes successfully. | ||||
Tags | No tags attached. | ||||
MantisBT: master 320fecc5 2015-11-24 12:58 Details Diff |
Suppress unserialize() errors when converting tokens to json install_check_token_serialization() converts existing tokens from php serialization to json. It may happen that the DB already contains tokens in json format, in which case depending on error settings, a PHP notice can be shown to the user which is confusing because the upgrade step's status is GOOD and the upgrade completes successfully. Fixes 0020326 |
Affected Issues 0020326 |
|
mod - core/install_helper_functions_api.php | Diff File |