Edgewall Software

Opened 7 years ago

Last modified 6 years ago

#11103 closed defect

Admin Manage Components table does not hide when there are no components — at Version 1

Reported by: Ryan J Ollos <ryan.j.ollos@…> Owned by:
Priority: normal Milestone: 1.0.2
Component: admin/web Version: 1.0-stable
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:

Description (last modified by Christian Boos)

Here is a screen capture of the Manage Milestones view with all of the milestones deleted:

Here is a screen capture of the Manage Components view with all of the components deleted:

they should behave similarly. The message As long as you don't add any items to the list, this field will remain completely hidden from the user interface. should be displayed and the table header should be hidden when all of the Components are deleted.

The problem is that Component.select returns a generator, and it's not expanded to a list in _render_admin_panel. For all of the other cases of Ticket System fields, select either returns a list or the generator is expanded to a list in _render_admin_panel (e.g. enums).

Change History (3)

by Ryan J Ollos <ryan.j.ollos@…>, 7 years ago

Attachment: ManageComponents.png added

by Ryan J Ollos <ryan.j.ollos@…>, 7 years ago

Attachment: ManageMilestones.png added

comment:1 by Christian Boos, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.