View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012513 | mantisbt | bugtracker | public | 2010-11-04 08:40 | 2011-08-05 02:45 |
| Reporter | dhx | Assigned To | dhx | ||
| Priority | normal | Severity | major | Reproducibility | sometimes |
| Status | closed | Resolution | duplicate | ||
| Product Version | 1.2.3 | ||||
| Summary | 0012513: history_localize_item is calling bug_revision_exists with a string argument where an integer is expected | ||||
| Description | Within history_api, the history_localize_item function is calling the bug_revision_exists function of bug_revision_api with the wrong argument type. It should be sending an integer, not a string. As bug_revision_api doesn't use db_prepare_int when building queries this error will result in SQL query execution errors when an integer field in the database is compared to the supplied string (type mismatch). | ||||
| Tags | No tags attached. | ||||
|
For me - this error occurs when column fields of table mantis_bug_history_table old_value and new_value are empty. I tested, that temporary solution without loosing functionality can be: *** core/bug_revision_api.php.orig 2010-09-14 20:40:10.000000000 +0200 * 88,93 **
|
|