Open GoogleCodeExporter opened 8 years ago
[deleted comment]
I fix it.download form svn.
Original comment by lxb...@gmail.com
on 23 Jul 2008 at 2:31
About this problem "Form field dup_id was not defined"
I modify the file "bugzilla-3.1.4\process_bug.cgi"
Add "#" after line 509~511 code, then this codes cannot enable ,
for example:
foreach my $b (@bug_objects) {
if (should_set('bug_status')) {
$b->set_status(
scalar $cgi->param('bug_status'),
{resolution => scalar $cgi->param('resolution'),
dupe_of => scalar $cgi->param('dup_id')}
);
}
elsif (should_set('resolution')) {
$b->set_resolution(scalar $cgi->param('resolution'),
{dupe_of => scalar $cgi->param('dup_id')});
}
#elsif (should_set('dup_id')) {
# $b->set_dup_id(scalar $cgi->param('dup_id'));
#}
}
so "Form field dup_id was not defined " will not come out again .
I didnot find the Bugzilla_version_3.3 ,the lastest version is bugzilla_3.1.4
Is the Bugzilla_version_3.3 exist?
Original comment by hove...@gmail.com
on 29 Jul 2008 at 8:45
[deleted comment]
I change it as belows, and works for me
elsif (should_set('dup_id')) {
if ($cgi->param('dup_id') != "") {
$b->set_dup_id(scalar $cgi->param('dup_id'));
}
}
Original comment by pip.c...@gmail.com
on 9 Sep 2008 at 9:25
Original issue reported on code.google.com by
pip.c...@gmail.com
on 7 Jul 2008 at 2:43