Bug 836514 - create_ticket() function doesn't assign 'assignee' value to a ticket assignee
Summary: create_ticket() function doesn't assign 'assignee' value to a ticket assignee
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-offtrac
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ralph Bean
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-29 11:25 UTC by Jakub Filak
Modified: 2016-12-01 00:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-10 20:13:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
a proposed patch (936 bytes, patch)
2012-06-29 11:25 UTC, Jakub Filak
no flags Details | Diff

Description Jakub Filak 2012-06-29 11:25:37 UTC
Created attachment 595262 [details]
a proposed patch

Description of problem:
create_ticket() function accepts the 'assignee' parameter. One can assume that a value from this parameter is to be used as an user name assigned to a ticket. In spite of assumption a value for the assignee is never used by trac server. An assignee value is stored in an attributes dictionary as a value of a 'assignee' key. The attributes dictionary is sent to trac server but trac server doesn't assign the 'assignee' value to a ticket. If someone wants to set 'assignee' of a ticket then he must set the 'owner' attribute.

Version-Release number of selected component (if applicable):
python-offtrac-0.0.3-4

How reproducible:
always

Steps to Reproduce:
import offtrac
s = offtrac.TracServer(...)
s.create_ticket("summary", "description", assignee="assignee")
  
Actual results:
an assignee value is not visible in web interface

Expected results:
The same result as a result of the 'reassign to' web ui action

Comment 1 Fedora Admin XMLRPC Client 2012-11-27 01:39:56 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Ralph Bean 2013-02-25 18:43:41 UTC
Would it make sense to just alias assignee to owner in python-offtrac?

Comment 3 Fedora Update System 2013-02-25 19:35:46 UTC
python-offtrac-0.0.4-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/python-offtrac-0.0.4-1.fc18

Comment 4 Fedora Update System 2013-02-25 19:36:18 UTC
python-offtrac-0.0.4-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/python-offtrac-0.0.4-1.fc17

Comment 5 Fedora Update System 2013-02-25 19:36:56 UTC
python-offtrac-0.0.4-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-offtrac-0.0.4-1.el6

Comment 6 Fedora Update System 2013-03-16 18:08:49 UTC
python-offtrac-0.0.4-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2013-03-17 00:49:07 UTC
python-offtrac-0.0.4-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2013-03-17 00:57:43 UTC
python-offtrac-0.0.4-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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