View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020087 | mantisbt | filters | public | 2015-09-08 18:58 | 2015-12-06 02:45 |
Reporter | atrol | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.0-beta.3 | ||||
Target Version | 1.3.0-rc.1 | Fixed in Version | 1.3.0-rc.1 | ||
Summary | 0020087: Filter by "Fixed in Version" throws error | ||||
Description | Filter by "Fixed in Version" throws error: APPLICATION ERROR 26 | ||||
Steps To Reproduce | If logged in, log out from https://www.mantisbt.org/bugs | ||||
Additional Information | Works for other version fields. | ||||
Tags | No tags attached. | ||||
I can't reproduce this. do you have a specific filter active ? |
|
Did you exactly follow the steps to reproduce, especially the "log out" step? |
|
Apologies, I must have messed up my private browser window when doing this test - I can now reproduce the issue as well. |
|
MantisBT: master 22a972a1 2015-09-11 04:46 Details Diff |
Fix error when filtering on Fixed in Version When logged in as anonmyous and trying to filter by 'Fixed in version', Mantis throws an APPLICATION ERROR 26. This is because the filter is initialized to default values with filter_get_default(), which checks the filter's validity using filter_ensure_valid_filter() where FILTER_PROPERTY_FIXED_IN_VERSION is expected to have a type 'string' but is initialized using constant META_FILTER_ANY which is of type 'int'. filter_ensure_valid_filter() has been modified to set the correct type for each property that it checks, which should fix the reported issue as well as other occurences of incorrect data types in saved filters. Fixes 0020087 |
Affected Issues 0020087 |
|
mod - core/filter_api.php | Diff File |