Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#10260 closed defect (fixed)

Client field should be hidden if there are no clients

Reported by: fommil Owned by: rjollos
Priority: normal Component: ClientsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


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 4 years ago 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

comment:2 Changed 4 years ago by rjollos

Here is the bit of code that causes built-in Select fields to be hidden when there are no options: We'll have to deal with the issue slightly differently in, 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 4 years ago by rjollos

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

(In [12092]) Fixes #10260:

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

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

comment:5 Changed 4 years ago 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 Comment

Modify Ticket

as closed The owner will remain rjollos.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.