Modify

Opened 13 years ago

Closed 8 years ago

#8924 closed enhancement (wontfix)

[PATCH] do not show dropdown box when explicit set_owner = somebody is configured

Reported by: Patrick Schaaf Owned by: Morris
Priority: normal Component: FlexibleAssignToPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

When a workflow step uses a configuration like this:

somestep.operations = set_owner
somestep.set_owner = somebody

flexible assign to will show the assign-to box and ignore the explicitly requested target owner. The hint text will erroneously still say 'change ... to somebody'.

While it would be possible to add

somestep.use_flexibleassignto = false

to suppress the assign box, I feel it would be more elegant to just respect the explicit set_owner configuration.

Attachments (1)

flexible-skip-explicit-setowner.patch (1.7 KB) - added by Patrick Schaaf 13 years ago.
Automatically disable flexible assign-to box when a step uses .set_owner = xxx

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by Patrick Schaaf

Automatically disable flexible assign-to box when a step uses .set_owner = xxx

comment:1 Changed 13 years ago by Patrick Schaaf

Summary: do not show dropdown box when explicit set_owner = somebody is configured[PATCH] do not show dropdown box when explicit set_owner = somebody is configured

comment:2 Changed 8 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

The plugin is deprecated in Trac 1.3.2 and later. To customize the list of users that appear in the assign-to list, subclass ConfigurableTicketWorkflow and override the get_allowed_owners method.

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.