View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006909 | mantisbt | custom fields | public | 2006-04-03 04:30 | 2006-04-03 04:30 |
Reporter | Elmar | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Summary | 0006909: move helper function für custom functions so that custom fields can be manipulated correctly | ||||
Description | Hi. There should be a minimal fix to the mantis codebase because the event handler for custom functions in bug_update.php is in the wrong place. It should move from ... Handle auto-assigningif ( ( NEW_ == $t_bug_data->status ) helper_call_custom_function( 'issue_update_validate', array( $f_bug_id, $t_bug_data, $f_bugnote_text ) );$t_resolved = config_get( 'bug_resolved_status_threshold' ); $t_custom_status_label = "update"; # default info to check to: ... helper_call_custom_function( 'issue_update_validate', array( $f_bug_id, $t_bug_data, $f_bugnote_text ) ); Add a bugnote if there is oneif ( ( !is_blank( $f_bugnote_text ) ) && ( false == $t_bug_note_set ) ) { Because the function is called before custom fields are parsed in the original version you will not be able to access the values in the custom_function file. Best regards, | ||||
Tags | No tags attached. | ||||