From 07690fe24f28c146fce43409f7d674eb998cf75e Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" Date: Sun, 6 Mar 2011 15:16:44 +0000 Subject: [PATCH] Bug 639151: Fix the webservice Bug.get method to return the correct see also url list. r/a=mkanat git-svn-id: svn://10.0.0.236/trunk@262007 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/Bugzilla/WebService/Bug.pm | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index 19ab125387b..554479db99c 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -7741 \ No newline at end of file +7742 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/Bugzilla/WebService/Bug.pm b/mozilla/webtools/bugzilla/Bugzilla/WebService/Bug.pm index 86c6ef5dadc..582a9ce9167 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/WebService/Bug.pm +++ b/mozilla/webtools/bugzilla/Bugzilla/WebService/Bug.pm @@ -874,7 +874,8 @@ sub _bug_to_hash { $item{'qa_contact'} = $self->type('string', $qa_login); } if (filter_wants $params, 'see_also') { - my @see_also = map { $self->type('string', $_) } @{ $bug->see_also }; + my @see_also = map { $self->type('string', $_->name) } + @{ $bug->see_also }; $item{'see_also'} = \@see_also; }