View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017517 | mantisbt | tagging | public | 2014-07-16 15:30 | 2014-12-08 02:08 |
Reporter | atrol | Assigned To | dregad | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.0dev | ||||
Target Version | 1.3.0-beta.1 | ||||
Summary | 0017517: Link "Attached Issues" on tag_view_page.php does not work | ||||
Description | You get the following page after clicking "Attached Issues" on tag_view_page.php SYSTEM WARNING: 'Invalid argument supplied for foreach()' in '/var/www/mantisbt/core/gpc_api.php' line 259 | ||||
Steps To Reproduce | Click on a tag on manage_tags_page.php or view.php | ||||
Tags | No tags attached. | ||||
MantisBT: master 2a13d775 2014-07-24 13:26 Details Diff |
Fix 'Attached Issues' link on tag_view_page.php After clicking the link, Mantis triggers SYSTEM WARNING: 'Invalid argument supplied for foreach()' in 'gpc_api.php' line 259. The root cause is actually an additional E_RECOVERABLE_ERROR (Argument 2 passed to gpc_get_string_array() must be of the type array, integer given) which is thrown in search.php but hidden with default error display settings. Regression introduced by 5458f7020999317b35f403fa2a0e477d6182ec12. This resolves the problem by changing the default value passed to gpc_get_string_array() by search.php from (integer) 'META_FILTER_ANY' to 'array( META_FILTER_ANY )'. Fixes 0017517 |
Affected Issues 0017517 |
|
mod - search.php | Diff File |