| Anonymous | Login | Signup for a new account | 2013-06-19 03:33 EDT | ![]() |
| Main | My View | View Issues | Change Log | Roadmap | Wiki | ManTweet | Repositories |
| View Issue Details [ Jump to Notes ] [ Wiki ] [ Related Changesets ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0012304 | mantisbt | filters | public | 2010-08-27 14:23 | 2011-08-02 12:35 | ||||
| Reporter | daryn | ||||||||
| Assigned To | daryn | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | 1.2.3 | ||||||||
| Target Version | 1.3.x | Fixed in Version | 1.2.3 | ||||||
| Summary | 0012304: If plugins set a params value for plugin filters the values are dropped. | ||||||||
| Description | The value return from plugin query function is an array of parameters to be added to the filter parameters. filter api calls array_merge for the 'params' element but the merge is not assigned back to the where params variable so the values are lost. | ||||||||
| Steps To Reproduce | Create a plugin filter. use db_param in the query and put the values in the params element of the return array. Attempt to filter by the plugin filter. Fail. This is overcome in most example plugins because query bound is not being used. The values are being assigned directly in the sql statement. Attempting to use query bound correctly causes the failure. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
Related Changesets |
|||
|
MantisBT: master b30ca3b9
Timestamp: 2010-08-27 18:25:16 Author: daryn [ Details ] [ Diff ] |
Fix 0012304 - If plugins set a params value for plugin filters the values are dropped. |
||
| mod - core/filter_api.php | [ Diff ] [ File ] | ||
|
MantisBT: master-1.2.x 9d56dad2
Timestamp: 2010-08-27 18:25:16 Author: daryn [ Details ] [ Diff ] |
Fix 0012304 - If plugins set a params value for plugin filters the values are dropped. |
||
| mod - core/filter_api.php | [ Diff ] [ File ] | ||
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-08-27 14:23 | daryn | New Issue | |
| 2010-08-27 14:23 | daryn | Status | new => assigned |
| 2010-08-27 14:23 | daryn | Assigned To | => daryn |
| 2010-08-27 14:25 | daryn | Changeset attached | => MantisBT master b30ca3b9 |
| 2010-08-27 14:25 | daryn | Resolution | open => fixed |
| 2010-08-27 14:25 | daryn | Fixed in Version | => 1.3.x |
| 2010-08-27 14:58 | daryn | Changeset attached | => MantisBT master-1.2.x 9d56dad2 |
| 2010-08-27 14:59 | daryn | Status | assigned => resolved |
| 2010-08-27 14:59 | daryn | Fixed in Version | 1.3.x => 1.2.3 |
| 2011-08-02 12:35 | dregad | Status | resolved => closed |
| MantisBT 1.2.16dev master-1.2.x-05091f5 [^]
Copyright © 2000 - 2013 MantisBT Team
Time: 0.0590 seconds. memory usage: 2,797 KB |