View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009804 | mantisbt | other | public | 2008-11-12 13:05 | 2009-01-15 11:26 |
Reporter | deboutv | Assigned To | grangeway | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.1.0 | ||||
Fixed in Version | 1.2.0a3 | ||||
Summary | 0009804: history_get_events not working | ||||
Description | The history_get_events function is not functional, it returns nothing (but it should) and the SQL query is wrong. In additional information the fixed function. | ||||
Additional Information | function history_get_events( $p_bug_id ) {
} | ||||
Tags | patch | ||||
Targetting for 1.1.5 until the code is verified. |
|
It seems to me that history_get_events() is no longer used. Is there a reason you can't use history_get_events_array() instead? |
|
No longer targetting for 1.1.5. |
|
history_get_events_array does not provide raw data (data are already translated and formatted). Here is an application: http://bugtracker.morinie.fr/mantis/dokuwiki/doku.php?id=mantis:start:customization:functions:assigned to display a new column in the View Issues page with the assigned date. |
|
Deboutv, history_get_raw_events_array should give you the unmodified data. Is there something that history_get_raw_events_array does not provide? Paul |
|
I've dumped the old function in favour of history_get_raw_events_array which seems to be a more sensible implementation, and should return the unformatted data Paul |
|
MantisBT: master 25f3cfea 2008-11-30 07:22 Paul Richards Details Diff |
Fix 0009804: history_get_events not working: removing history_get_events - this has been replaced by either: a) history_get_events_array (returns formatted array) b) history_get_raw_events_array ( returns raw data) |
Affected Issues 0009804 |
|
mod - core/history_api.php | Diff File |