Modify

Opened 16 years ago

Closed 14 years ago

Last modified 8 years ago

#3494 closed defect (fixed)

plugin deletes ticket owner

Reported by: baohx2000@… Owned by: Morris
Priority: normal Component: FlexibleAssignToPlugin
Severity: major Keywords: delete owner
Cc: Trac Release: 0.11

Description

I recently updated my trac to 0.11 release (not beta) and now the flexibleassignto plugin simply deletes the owner of a ticket instead of changing it. I believe the problem may be that the name on the select element has changed in the latest release.

The drop-down still shows correctly in the ticket, it just doesn't do its job when submitting.

Attachments (0)

Change History (6)

comment:1 Changed 16 years ago by chris

You were correct, the issue is that the name of the action has changed. I think I have fixed the issue by changing the line 196 to be:

        id = 'action_' + nextActionName + '_reassign_owner'

I will email the code maintainers, see if I can get them to update this.

comment:2 Changed 16 years ago by nasrullah@…

This issue still persists in 0.11 (haven't tested the trunk). The workaround by chris works perfectly. Here are some additional details:

  1. If you installed this using easy_install, find the FlexibleAssignTo egg file in your python site-packages
  2. Unzip it
  3. Edit the flexibleassignto.py file in the folder with the same name and perform the edit as written above by chris
  4. Delete all .pyc's
  5. Zip back into an egg

comment:3 Changed 15 years ago by Ivan

Thanks! The patch helped me too. Before this Owned by: was not updated after reassign.

comment:4 Changed 14 years ago by aaronaddleman@…

WHOOOOHOO!! ty chris! I made your change and it worked for me too!

I hope this code makes it into the next release of this hack.

comment:5 Changed 14 years ago by Morris

Status: newassigned

comment:6 Changed 14 years ago by Morris

Resolution: fixed
Status: assignedclosed

(In [10066]) fixes #3494 (http://trac-hacks.org/ticket/3494)

  • updated flexibleassignto.py core to work properly with 0.11release+ versions of Trac (thanks chris!)
  • updated AUTHORS to note contribution from chris on #3494
  • updated README version compatibility notes

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Morris.
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.