View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020082 | mantisbt | custom fields | public | 2015-09-07 14:31 | 2015-12-06 02:45 |
Reporter | vboctor | Assigned To | vboctor | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.0-beta.3 | ||||
Target Version | 1.3.0-rc.1 | Fixed in Version | 1.3.0-rc.1 | ||
Summary | 0020082: Invalid query error when updating an issue | ||||
Description | In some cases a field would exist on the form but the value would evaluate to null. In such case, an invalid query is issue attempting to set the value of the custom field to null which is not allowed. The fix would be to make sure that when we convert from value of the custom field to the database value we convert null to string. Before we used to skip these and hence didn't get the error, but that caused the issue with purging custom field values after setting them. function custom_field_value_to_database( $p_value, $p_type ) {
} | ||||
Tags | mantishub | ||||