Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#10260 closed defect (fixed)

Client field should be hidden if there are no clients

Reported by: Sam Halliday Owned by: Ryan J Ollos
Priority: normal Component: ClientsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

It would be really nice if the Client fields were hidden from issues if there are no registered Clients. This is what happens with milestones, components, etc.

Attachments (0)

Change History (5)

comment:1 Changed 12 years ago by Ryan J Ollos

Owner: changed from Colin Guthrie to Ryan J Ollos
Status: newassigned
Summary: No Clients should hide fieldsClient field should be hidden if there are no clients

comment:2 Changed 12 years ago by Ryan J Ollos

Here is the bit of code that causes built-in Select fields to be hidden when there are no options: api.py. We'll have to deal with the issue slightly differently in client.py, though I'm considering also opening an enhancement request for this in the Trac core.

Are you really running Trac 0.11? Recent versions of the plugin are broken on Trac 0.11, which I intend to fix shortly (#10253).

comment:3 Changed 12 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

(In [12092]) Fixes #10260:

  • The client field is hidden if there are no clients.
  • Added unit test infrastructure.

comment:4 Changed 12 years ago by Ryan J Ollos

Please keep this ticket under consideration for testing and reporting back once I fix #10253. I see now that you are also the reporter for that ticket.

comment:5 Changed 12 years ago by Sam Halliday

Thanks for this! I've not been able to report back with an update due to the TH downtime, but I'm not using this plugin at the moment because my time tracking isn't working the way I'd like. I'm also using trac 1.0 now.

Modify Ticket

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