Edgewall Software

Changes between Initial Version and Version 3 of Ticket #2805


Ignore:
Timestamp:
Apr 21, 2006, 6:28:31 PM (18 years ago)
Author:
Alec Thomas
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2805

    • Property Milestone0.10
  • Ticket #2805 – Description

    initial v3  
    11I've got a Ticket with a changelog (as returned by get_changelog) that looks like this:
    22
     3{{{
    34[(1139910447,
    45  'miro',
     
    89 (1139910447, 'miro', 'comment', '', ''),
    910 (1139910447, 'miro', 'attachment', '', 'sshserver.py')]
     11}}}
    1012
    1113The 1st 'comment' entry comes from an actual comment on the ticket.  The 2nd 'comment' entry comes from the description of the attachment on the attachment table - ie, it is a row returned by the final SELECT clause in the statement which retrieves the changelog (line ~288 in trac/ticket/model.py).  Since the timestamp and author on these two rows are the same, when the web ui builds up the change data set for the rendering pass (line ~420 in trac/ticket/web_ui.py), it does not create a new `changes' entry, but merely overwrites the first comment with the second.