View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0016420 | mantisbt | preferences | public | 2013-09-28 12:30 | 2014-02-07 18:24 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.15 | ||||
Target Version | 1.2.16 | Fixed in Version | 1.2.16 | ||
Summary | 0016420: Editing user preferences when no project exists triggers application error 20 | ||||
Description | It is not possible to update a user's preferences (via My Account / Preferences) when no projects exists (e.g. right after installation). Mantis triggers APPLICATION ERROR 200: A required parameter to this page (default_project) was not found. | ||||
Steps To Reproduce | Steps to reproduce
| ||||
Additional Information | Issue initially submitted as Pull Request on Github [1] | ||||
Tags | No tags attached. | ||||
It should be possible to select "ALL PROJECTS" even if there is only one project. This allows the user to default ALL PROJECTS when future projects are added. |
|
Is there a reason for not always including ALL_PROJECTS? This is a valid default value which provides the user with the view of all issues on login, rather than selecting a specific project. |
|
@vboctor, yes there is, see 0009826 @grangeway, if you don't agree with a fix, instead of reverting people's changes maybe you should try discussing with them first, and propose a better solution. |
|
MantisBT: master-1.2.x 26831ea0 2013-09-28 08:32 Details Diff |
Editing user prefs when no project exists triggers error It was not possible to update a user's preferences when no projects exists (e.g. right after installation), Mantis triggered application error 20. We now omit 'All projects' from the default project selection list only when the project count is 1. Fixes 0016420 |
Affected Issues 0016420 |
|
mod - account_prefs_inc.php | Diff File | ||
MantisBT: master e60809f7 2013-09-28 08:32 Details Diff |
Editing user prefs when no project exists triggers error It was not possible to update a user's preferences when no projects exists (e.g. right after installation), Mantis triggered application error 20. We now omit 'All projects' from the default project selection list only when the project count is 1. Fixes 0016420 |
Affected Issues 0016420 |
|
mod - account_prefs_inc.php | Diff File |