Description | Error posting issue: Error Type: SYSTEM NOTICE,
Error Description:
Undefined variable: t_due_date,
Stack Trace:
ArrayUnknownFile L? mc_issue_add(<string>'sevier', <string>'s0@p', <Array> { ['view_state'] => <Array> { ['id'] => 10 }, ['project'] => <Array> { ['id'] => 1 }, ['category'] => 'Advertisements', ['priority'] => <Array> { ['id'] => 10 }, ['severity'] => <Array> { ['id'] => 10 }, ['status'] => <Array> { ['id'] => 10 }, ['summary'] => 'test', ['version'] => '0.8.3', ['platform'] => NULL, ['reproducibility'] => <Array> { ['id'] => 70 }, ['projection'] => <Array> { ['id'] => 10 }, ['eta'] => <Array> { ['id'] => 10 }, ['resolution'] => <Array> { ['id'] => 10 }, ['description'] => 'test', ['steps_to_reproduce'] => 'test', ['additional_information'] => 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0', ['custom_fields'] => <Array> { [0] => <Array> { ['field'] => <Array> { ['id'] => 12 }, ['value'] => 'Bug' }, [1] => <Array> { ['field'] => <Array> { ['id'] => 4 }, ['value'] => 'Jeremi Bergman' } } })
nusoap.php L3997 call_user_func_array(<string>'mc_issue_add', <Array> { [0] => 'sevier', [1] => 's0@p', [2] => <Array> { ['view_state'] => <Array> { ['id'] => 10 }, ['project'] => <Array> { ['id'] => 1 }, ['category'] => 'Advertisements', ['priority'] => <Array> { ['id'] => 10 }, ['severity'] => <Array> { ['id'] => 10 }, ['status'] => <Array> { ['id'] => 10 }, ['summary'] => 'test', ['version'] => '0.8.3', ['platform'] => NULL, ['reproducibility'] => <Array> { ['id'] => 70 }, ['projection'] => <Array> { ['id'] => 10 }, ['eta'] => <Array> { ['id'] => 10 }, ['resolution'] => <Array> { ['id'] => 10 }, ['description'] => 'test', ['steps_to_reproduce'] => 'test', ['additional_information'] => 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0', ['custom_fields'] => <Array> { [0] => <Array> { ['field'] => <Array> { ['id'] => 12 }, ['value'] => 'Bug' }, [1] => <Array> { ['field'] => <Array> { ['id'] => 4 }, ['value'] => 'Jeremi Bergman' } } } })
nusoap.php L3686 invoke_method() |
---|
Attached Files |
mantis_bug_fix.txt (930 bytes)
Index: core/bug_api.php
===================================================================
--- core/bug_api.php (revision 5348)
+++ core/bug_api.php (working copy)
@@ -475,6 +475,7 @@
$c_additional_info = $p_bug_data->additional_information;
$c_sponsorship_total = 0;
$c_sticky = 0;
+ $c_due_date = $p_bug_data->due_date;
# Summary cannot be blank
if ( is_blank( $c_summary ) ) {
@@ -592,6 +593,7 @@
" . db_param(25) . ",
" . db_param(26) . ",
" . db_param(27) . ")";
+
db_query_bound( $query, Array( $c_project_id, $c_reporter_id, $c_handler_id, 0, $c_priority, $c_severity, $c_reproducibility, $t_status,
$t_resolution, 10, $c_category_id, db_now(), db_now(), 10, $t_text_id, $c_os, $c_os_build, $c_platform, $c_version,$c_build,
$c_profile_id, $c_summary, $c_view_state, $c_sponsorship_total, $c_sticky, '', $c_target_version, $c_due_date) );
|
---|