Bug 822348 - a code error in Bug webservice
Summary: a code error in Bug webservice
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: WebService
Version: 3.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 4.2-1
Assignee: PnT DevOps Devs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: BZ42
TreeView+ depends on / blocked
 
Reported: 2012-05-17 06:33 UTC by Wei Shen
Modified: 2025-10-16 23:31 UTC (History)
2 users (show)

Fixed In Version: 4.2.1-1
Clone Of:
Environment:
Last Closed: 2012-05-17 10:02:30 UTC
Embargoed:


Attachments (Terms of Use)

Description Wei Shen 2012-05-17 06:33:38 UTC
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.