Modify

Opened 7 years ago

Closed 18 months ago

#1970 closed defect (wontfix)

Can't move tickets

Reported by: JamesMills Owned by: coderanger
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 7 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 18 months ago by rjollos

  • Resolution set to wontfix
  • Status changed from new to closed

This plugin is deprecated. Please use the TracMigratePlugin.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.