Edgewall Software

Changes between Version 1 and Version 7 of Ticket #11103


Ignore:
Timestamp:
Jul 29, 2013, 11:26:10 PM (6 years ago)
Author:
Ryan J Ollos
Comment:

The Manage Repositories panel has the same issue as the Manage Components panel.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11103

    • Property Owner set to Ryan J Ollos
    • Property Status newassigned
    • Property Milestone1.0.2
  • Ticket #11103 – Description

    v1 v7  
    1 Here is a screen capture of the Manage Milestones view with all of the milestones deleted:
     1Here is a screen capture of the //Manage Milestones// view with all of the milestones deleted:
    22
    33[[Image(ManageMilestones.png)]]
    44
    5 Here is a screen capture of the Manage Components view with all of the components deleted:
     5Here is a screen capture of the //Manage Components// view with all of the components deleted:
    66
    77[[Image(ManageComponents.png)]]
    88
    9 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.
     9The 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.
    1010
    1111The problem is that [/browser/branches/1.0-stable/trac/ticket/model.py?rev=11547&marks=906#L893 Component.select] returns a generator, and it's not expanded to a list in [/browser/branches/1.0-stable/trac/ticket/admin.py?rev=11490&marks=150#L140 _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. [/browser/branches/1.0-stable/trac/ticket/admin.py?rev=11490&marks=693#L674  enums]).