Modify

Opened 17 years ago

Closed 11 years ago

#1970 closed defect (wontfix)

Can't move tickets

Reported by: James Mills Owned by: Noah Kantrowitz
Priority: high Component: DatamoverPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.10

Description

Using:

  • trac-0.10.4
  • DataMoverPlugin-1.2 r2542

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 (0)

Change History (2)

comment:1 in reply to:  description Changed 17 years ago by anonymous

util.py
line 58

   #ticket_change_data['ticket'] = dest_id [[br]]
   ticket_custom_data['ticket'] = dest_id
line 59  
{{{
   #q = make_query(ticket_change_data, 'ticket_custom')[[br]]
   q = make_query(ticket_custom_data, 'ticket_custom')
}}}



comment:2 Changed 11 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

This plugin is deprecated. Please use the TracMigratePlugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.