Ticket #10260 (closed defect: fixed)

Opened 9 months ago

Last modified 8 months ago

Client field should be hidden if there are no clients

Reported by: fommil Assigned to: rjollos
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

Change History

10/02/12 03:41:12 changed by rjollos

  • owner changed from coling to rjollos.
  • status changed from new to assigned.
  • summary changed from No Clients should hide fields to Client field should be hidden if there are no clients.

10/02/12 05:55:28 changed by rjollos

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

10/02/12 07:43:59 changed by rjollos

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

(In [12092]) Fixes #10260:

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

10/02/12 07:59:20 changed by rjollos

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.

10/03/12 14:19:20 changed by fommil

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.


Add/Change #10260 (Client field should be hidden if there are no clients)




Change Properties
Action