Ticket #1970 (new defect)

Opened 1 year ago

Last modified 1 year ago

Can't move tickets

Reported by: JamesMills Assigned to: coderanger
Priority: high Component: DatamoverPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.10

Description

Using:

I also am using the TracForgePlugin-1.1 r2542

When I tried to move a ticket id #1 from a project instnace to another one (which already has many tickets) I got:

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/oracle/opt/trac/lib/python/TracWebAdmin-0.1.2dev_r5753-py2.5.egg/webadmin/web_ui.py", line 109, in process_request
    path_info)
  File "build/bdist.linux-i686/egg/datamover/ticket.py", line 69, in process_admin_request
    copy_ticket(self.env, dest, id, dest_db)
  File "build/bdist.linux-i686/egg/datamover/util.py", line 58, in copy_ticket
    ticket_change_data['ticket'] = dest_id
UnboundLocalError: local variable 'ticket_change_data' referenced before assignment

Attachments

Change History

(in reply to: ↑ description ) 09/12/07 02:42:04 changed by anonymous

util.py
line 58

#ticket_change_dataticket? = dest_id
ticket_custom_dataticket? = dest_id

line 59

#q = make_query(ticket_change_data, 'ticket_custom')
q = make_query(ticket_custom_data, 'ticket_custom')


Add/Change #1970 (Can't move tickets)




Change Properties
Action