Opened 8 years ago

Last modified 7 years ago

#11567 accepted defect

grouping ticket_type causes header to break in ticket_box.html template

Reported by: Russell Ballestrini Owned by: thomasd
Priority: normal Component: GroupTicketFieldsPlugin
Severity: normal Keywords:
Cc: falkb, Russell Ballestrini, Luca Lenardi Trac Release: 1.0


A defect in this plugin breaks header ordering on ticket_box.html template when placing ticket_type into a group.

How to reproduce:

group_order = ticket_type
ticket_type = Ticket Type
ticket_type.fields = type

What happens

#4 5 new

    <a href="/cars-sm/ticket/4" class="trac-id">#4</a>
    <span class="trac-status">
      <a href="/cars-sm/query?status=!closed&amp;priority=5">5</a>
    <span class="trac-type">
      <a href="/cars-sm/query?status=new">new</a>

What we expect to happen

#4 new Bug

    <a href="/cars-sm/ticket/4" class="trac-id">#4</a>
    <span class="trac-status">
      <a href="/cars-sm/query?status=new">new</a>
    <span class="trac-type">
      <a href="/cars-sm/query?status=!closed&amp;type=Bug">Bug</a>

Attachments (0)

Change History (7)

comment:1 Changed 8 years ago by Russell Ballestrini

Cc: Russell Ballestrini added

comment:2 Changed 7 years ago by Luca Lenardi

That also happens by grouping other "main" ticket fields (e.g. Owner or reporter). It seems that somewhere list items get moved around...

comment:3 Changed 7 years ago by Luca Lenardi

Cc: Luca Lenardi added

comment:4 Changed 7 years ago by Luca Lenardi

Any idea on how to fix? I can try to fix it, but need some advises...

comment:5 Changed 7 years ago by nenad@…

With some combinations of "main" ticket fields moved to other group even timestamp appears, like this one:

#1541 closed info (2015-01-28 22:39:23.335101+00:00) 

As it is now, using this plugin to regroup main fields requires lot of effort to make balance between grouped fields and level of header brokeness.

comment:6 Changed 7 years ago by anonymous

Do you have a screenshot image for when the timestamp appears?

comment:7 Changed 7 years ago by thomasd

Status: newaccepted

Ok, I can reproduce the timestamp issues. I'll see into it.

Modify Ticket

Change Properties
Set your email in Preferences
as accepted The owner will remain thomasd.

Add Comment

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

Note: See TracTickets for help on using tickets.