Bug 558318: "Invalid Parameter for keywords" error thrown when creating a new bug
r=timello a=LpSolit git-svn-id: svn://10.0.0.236/trunk@260177 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
aa9bafc25b
commit
3ec724b4ea
@ -1 +1 @@
|
||||
7124
|
||||
7125
|
||||
@ -478,15 +478,11 @@ sub create {
|
||||
my $groups = delete $params->{groups};
|
||||
my $depends_on = delete $params->{dependson};
|
||||
my $blocked = delete $params->{blocked};
|
||||
my $keywords = delete $params->{keywords};
|
||||
my ($comment, $privacy) = ($params->{comment}, $params->{commentprivacy});
|
||||
delete $params->{comment};
|
||||
delete $params->{commentprivacy};
|
||||
|
||||
# Set up the keyword cache for bug creation.
|
||||
my $keywords = $params->{keywords};
|
||||
$params->{keywords} = join(', ', sort {lc($a) cmp lc($b)}
|
||||
map($_->name, @$keywords));
|
||||
|
||||
# We don't want the bug to appear in the system until it's correctly
|
||||
# protected by groups.
|
||||
my $timestamp = delete $params->{creation_ts};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user