View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0029991 | mantisbt | installation | public | 2022-04-29 07:38 | 2022-05-20 11:19 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 2.25.4 | Fixed in Version | 2.25.4 | ||
Summary | 0029991: Javascript error in browser console when upgrading | ||||
Description | When upgrading an existing MantisBT instance, the following error is displayed after loading admin/install.php
The error is also shown in subsequent install steps (including on new install scenarios). | ||||
Tags | No tags attached. | ||||
MantisBT: master 64a44a7e 2022-04-29 07:48 Details Diff |
Fix "Uncaught TypeError" on install.php Only load the JavaScript, when it is actually needed (i.e. with install steps 0 & 1). Fixes 0029991 |
Affected Issues 0029991 |
|
mod - admin/install.php | Diff File | ||
MantisBT: master 202890b4 2022-04-29 07:55 Details Diff |
Install: refactor update_sample_table_names() Use a new helper function process_table_name_field() to ensure that a single `_` is appended or prepended to the input fields ' value. The also code ensures the field is a valid jQuery object before attempting to process its value, preventing occurrence of an Uncaught TypeError. Fixes 0029991 |
Affected Issues 0029991 |
|
mod - js/install.js | Diff File |