View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010156 | mantisbt | filters | public | 2009-02-24 08:01 | 2012-10-10 12:51 |
Reporter | alban_peignier | Assigned To | daryn | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.0a3 | ||||
Target Version | 1.2.5 | Fixed in Version | 1.2.5 | ||
Summary | 0010156: Categories "[any] / General". | ||||
Description | For some of our users, after a upgrade from a 1.1.1, the categorie select in the filter view doesn't provide the projects categories but only : "[any]" and "General" .. Mantis loads the categories from the project 0 in the database (according to mysql log) : SELECT DISTINCT name FROM mantis_category_table Workaround: define a default project in the user preferences. | ||||
Tags | No tags attached. | ||||
This appears to be a list initialization problem. Once the user visits the Report Issue page, the View Issues category list will remain fully populated until the user does a Logout. |
|
I was able to reproduce the problem (and verify the workaround) with a "reporter" level user, but "developer" level users appear to be immune to the issue. MantisBT: 1.2.1 |
|
Populate the list according to user permission and configuration. Also prepared for future templating by moving the data retrieval out of the print function. |
|
MantisBT: master 011050bd 2010-12-23 12:32 Details Diff |
Fix Bug 0010156: Categories "[any] / General". Move data retrieval into new category api function category_get_filter_list. Use existing api functions to properly populate the list based on configured project/category inheritance. The print api function now handles only display functionality. It sorts and prints the select list. The print function will eventually be removed in favor of a view. This separation prepares for that. |
Affected Issues 0010156 |
|
mod - core/print_api.php | Diff File | ||
mod - core/category_api.php | Diff File | ||
MantisBT: master-1.2.x 514d5b6f 2010-12-23 12:43 Details Diff |
Fix Bug 0010156: Categories "[any] / General". Move data retrieval into new category api function category_get_filter_list. Use existing api functions to properly populate the list based on configured project/category inheritance. The print api function now handles only display functionality. It sorts and prints the select list. The print function will eventually be removed in favor of a view. This separation prepares for that. |
Affected Issues 0010156 |
|
mod - core/print_api.php | Diff File | ||
mod - core/category_api.php | Diff File |