Fixes to bug reporting column.
Bug 429876 â Patch unexpectedly ends in middle of line - patch-3.0.x git-svn-id: svn://10.0.0.236/trunk@250696 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
2c6ffdc59a
commit
a8dbe30d29
@ -786,7 +786,7 @@ sub add_tag {
|
||||
if (ref $t eq 'ARRAY'){
|
||||
push @tags, $_ foreach @$t;
|
||||
}
|
||||
push @tags, split(/[\s,]+/, $t);
|
||||
push @tags, split(/,+/, $t);
|
||||
}
|
||||
|
||||
foreach my $name (@tags){
|
||||
|
||||
@ -316,7 +316,7 @@ sub to_json {
|
||||
$obj->{'type'} = $self->type;
|
||||
$obj->{'id'} = $self->id;
|
||||
$obj->{'sortkey'} = $self->sortkey;
|
||||
$obj->{'bug_list'} = $self->case->bug_list;
|
||||
$obj->{'bug_list'} = $self->bug_list;
|
||||
|
||||
return $json->objToJson($obj);
|
||||
}
|
||||
@ -939,7 +939,7 @@ sub bug_list {
|
||||
return $self->{'bug_list'} if exists $self->{'bug_list'};
|
||||
my $dbh = Bugzilla->dbh;
|
||||
my @bugs;
|
||||
my $bugids = $dbh->selectcol_arrayref("SELECT bug_id
|
||||
my $bugids = $dbh->selectcol_arrayref("SELECT DISTINCT bug_id
|
||||
FROM test_case_bugs
|
||||
WHERE case_run_id=?",
|
||||
undef, $self->id);
|
||||
|
||||
@ -1236,6 +1236,7 @@ CaseBugsGrid = function(id){
|
||||
ds.load({
|
||||
params: {case_id: tcid}
|
||||
});
|
||||
Ext.getCmp('attachbug').reset();
|
||||
},
|
||||
failure: testopiaError
|
||||
});
|
||||
|
||||
@ -77,7 +77,7 @@ TestopiaObjectTags = function(obj, obj_id){
|
||||
var deleteButton = new Ext.Button({
|
||||
icon: 'testopia/img/delete.png',
|
||||
iconCls: 'img_button_16x',
|
||||
handler: this.remove
|
||||
handler: this.remove.createDelegate(this)
|
||||
});
|
||||
|
||||
TestopiaObjectTags.superclass.constructor.call(this, {
|
||||
|
||||
@ -327,4 +327,3 @@ diff -u -r1.171.2.2 Bug.pm
|
||||
#####################################################################
|
||||
# Subroutines
|
||||
#####################################################################
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user