Modify

Opened 6 years ago

Closed 4 years ago

#3494 closed defect (fixed)

plugin deletes ticket owner

Reported by: baohx2000@… Owned by: 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 (0)

Change History (6)

comment:1 Changed 6 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 6 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 5 years ago by Drops

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

comment:4 Changed 4 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 4 years ago by gt4329b

  • Status changed from new to assigned

comment:6 Changed 4 years ago by gt4329b

  • Resolution set to fixed
  • Status changed from assigned to closed

(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 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.