Modify

Opened 14 years ago

Last modified 8 years ago

#7278 new defect

"Ticket Change" summary doesn't work if no milestone is assigned or milestone has no due date

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

Description

The Summary "Ticket Changes" does not deal with tickets

  • having no milestone assinged
  • having a milestone with no due date.

This is cause a restriction in the SELECT startement in ´summary_ticketchanges.py´.

I´ve attached three excamples of the resulting xml-file. Only the version with due date shows the right result.

If I change the SQL-Statement (see attached diff), I could get the 2nd problem solved (tickets with milestones with no due date are now processed)

If there is no milestone assigned, any changes to the ticket won´t be added to the XML output - no idea why.

Attachments (4)

send-client-email.no_milestone.xml (139 bytes) - added by hju 14 years ago.
result with no milestone assigned
send-client-email.no_due_date.xml (139 bytes) - added by hju 14 years ago.
result with milestone with no due date assigned
send-client-email.with_due_date.xml (583 bytes) - added by hju 14 years ago.
result with milestone with due date assigned
summary_ticketchanges.py.diff (827 bytes) - added by hju 14 years ago.
PATCH to change SELECT stament getting all tickets processed

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by hju

result with no milestone assigned

Changed 14 years ago by hju

result with milestone with no due date assigned

Changed 14 years ago by hju

result with milestone with due date assigned

Changed 14 years ago by hju

PATCH to change SELECT stament getting all tickets processed

comment:1 Changed 8 years ago by Ryan J Ollos

Summary: "Ticket Change" summary does´t work if no milestone is assigned or milestone has no due date"Ticket Change" summary doesn't work if no milestone is assigned or milestone has no due date

comment:2 Changed 8 years ago by Ryan J Ollos

Owner: Colin Guthrie deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.