View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011116 | mantisbt | plug-ins | public | 2009-11-03 13:03 | 2010-02-22 14:35 |
Reporter | cmfitch1 | Assigned To | jreese | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 1.2.0 | ||||
Summary | 0011116: Creating permalinks broken for plugins defining filters of type FILTER_TYPE_MULTI* | ||||
Description | When the URL is created for a filter permalink, the number of values selected for the given filter field determines whether it is encoded as an array or not. Plug-ins define their filters to be of a particular type and always expect that type in the permalink. filter_encode_field_and_value() only encodes the field as an array if there is more than one item selected. The checking in filter_ensure_valid_filter() expects an array regardless. | ||||
Steps To Reproduce |
APPLICATION ERROR 0000201 An array was expected but a string was received for <field_name>. | ||||
Tags | No tags attached. | ||||
MantisBT: master-1.2.x 606b93a7 2009-11-03 13:32 Chris Fitch Committer: jreese Details Diff |
Fix 0011116: proper permalink for custom filters Signed-off-by: John Reese <jreese@leetcode.net> |
Affected Issues 0011116 |
|
mod - core/filter_api.php | Diff File | ||
MantisBT: master be048ab7 2009-11-03 13:32 Chris Fitch Committer: jreese Details Diff |
Fix 0011116: proper permalink for custom filters Signed-off-by: John Reese <jreese@leetcode.net> |
Affected Issues 0011116 |
|
mod - core/filter_api.php | Diff File |