Ticket #3494 (closed defect: fixed)

Opened 5 years ago

Last modified 2 years ago

plugin deletes ticket owner

Reported by: baohx2000@gmail.com Assigned to: gt4329b
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

Change History

08/12/08 03:19:11 changed 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.

02/25/09 12:17:07 changed by nasrullah@gmail.com

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

09/03/09 02:14:29 changed by Drops

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

06/25/10 18:56:08 changed by aaronaddleman@gmail.com

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.

04/11/11 15:59:57 changed by gt4329b

  • status changed from new to assigned.

04/11/11 16:01:43 changed by gt4329b

  • status changed from assigned to closed.
  • resolution set to fixed.

(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

Add/Change #3494 (plugin deletes ticket owner)




Change Properties
Action