Edgewall Software
Modify

Opened 20 years ago

Closed 19 years ago

#1555 closed defect (fixed)

can't change the component of a ticket

Reported by: xris Owned by: Jonas Borgström
Priority: normal Milestone: 0.9
Component: ticket system Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

using [1585] because I can't upgrade further in python 2.2. Tried to reassign one of my tickets to "part1 + part2: misc" component, but got "unsubscriptable object". Other "part1 + part2: foo" components work fine.

Traceback (most recent call last):
  File "/usr/lib/python2.2/site-packages/trac/web/cgi_frontend.py", line 103, in run
    dispatch_request(os.getenv('PATH_INFO', ''), req, env)
  File "/usr/lib/python2.2/site-packages/trac/web/main.py", line 302, in dispatch_request
    module.render(req)
  File "/usr/lib/python2.2/site-packages/trac/Ticket.py", line 539, in render
    self.save_changes(req, id)
  File "/usr/lib/python2.2/site-packages/trac/Ticket.py", line 430, in save_changes
    req.args.get('comment'), when=now)
  File "/usr/lib/python2.2/site-packages/trac/Ticket.py", line 144, in save_changes
    self['owner'] = cursor.fetchone()[0]
TypeError: unsubscriptable object

Attachments (0)

Change History (1)

comment:1 by Christopher Lenz, 19 years ago

Milestone: 0.9
Resolution: fixed
Status: newclosed

This should be fixed in trunk. Please reopen if it's still happening.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.