mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
Bug 232156: Bugzilla 2.17.3 changed some field names in the RDF output. Make Mozbot succeed with either schema.
r= bbaetz
This commit is contained in:
parent
5259b4c612
commit
7248ced448
@ -419,13 +419,13 @@ sub GotURI {
|
||||
# or we can pass cookies
|
||||
$self->say($event, $prefix .
|
||||
"Bug $bug_link$bug->{'id'} " .
|
||||
substr($bug->{'severity'}, 0, 3) . ", " .
|
||||
substr($bug->{'severity'} || $bug->{'bug_severity'}, 0, 3) . ", " .
|
||||
$bug->{'priority'} . ", " .
|
||||
($bug->{'target_milestone'} ? "$bug->{'target_milestone'}, " : "") .
|
||||
$bug->{'owner'} . ", " .
|
||||
substr($bug->{'status'}, 0, 4) .
|
||||
($bug->{'owner'} || $bug->{'assigned_to'}) . ", " .
|
||||
substr($bug->{'status'} || $bug->{'bug_status'}, 0, 4) .
|
||||
($bug->{'resolution'} ? " " . $bug->{'resolution'} : "") . ", " .
|
||||
substr($bug->{'summary'}, 0, 100));
|
||||
substr($bug->{'summary'} || $bug->{'short_desc'} || $bug->{'short_short_desc'}, 0, 100));
|
||||
} elsif ($bug->{'error'} eq 'NotFound') {
|
||||
unless($skipZaroo) {
|
||||
$self->say($event, $prefix . "Bug $bug->{'id'} was not found.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user