Modify

Opened 5 years ago

#7278 new defect

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

Reported by: hju Owned by: coling
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 5 years ago.
result with no milestone assigned
send-client-email.no_due_date.xml (139 bytes) - added by hju 5 years ago.
result with milestone with no due date assigned
send-client-email.with_due_date.xml (583 bytes) - added by hju 5 years ago.
result with milestone with due date assigned
summary_ticketchanges.py.diff (827 bytes) - added by hju 5 years ago.
PATCH to change SELECT stament getting all tickets processed

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by hju

result with no milestone assigned

Changed 5 years ago by hju

result with milestone with no due date assigned

Changed 5 years ago by hju

result with milestone with due date assigned

Changed 5 years ago by hju

PATCH to change SELECT stament getting all tickets processed

Add Comment

Modify Ticket

Action
as new The owner will remain coling.
Author


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

 
Note: See TracTickets for help on using tickets.