Bug 822348 - a code error in Bug webservice
a code error in Bug webservice
Status: CLOSED CURRENTRELEASE
Product: Bugzilla
Classification: Community
Component: WebService (Show other bugs)
3.6
Unspecified Unspecified
unspecified Severity unspecified (vote)
: ---
: ---
Assigned To: PnT DevOps Devs
:
Depends On:
Blocks: BZ42
  Show dependency treegraph
 
Reported: 2012-05-17 02:33 EDT by Wei Shen
Modified: 2014-06-22 21:33 EDT (History)
2 users (show)

See Also:
Fixed In Version: 4.2.1-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-05-17 06:02:30 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Wei Shen 2012-05-17 02:33:38 EDT
https://svn.devel.redhat.com/repos/bugzilla-rh/trunk/Bugzilla/WebService/Bug.pm
Description of problem:
    # REDHAT EXTENSION START 447765
    # Return sane values for assigned_to, reporter, and qa_contact to non-logged users
    if (!$user->id) {
        if (filter_wants $params, 'reporter') {
            $item{'reporter'} = $self->type('string', $bug->reporter->name);
        }
        if (filter_wants $params, 'assigned_to') {
            $item{'assigned_to'} = $self->type('string', $bug->assigned_to->name);
        }
        if (filter_wants $params, 'creator') {
            $item{'creator'} = $self->type('string', $bug->assigned_to->name);
        }

the creator is assigned a value assigned to 
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:

it should be reporter name
Additional info:

Note You need to log in before you can comment on or make changes to this bug.