[Trac-tickets] [The Trac Project] #2583: Not markuped "Ticket details" on timeline

The Trac Project noreply at edgewall.com
Wed Jan 11 03:20:33 CST 2006


#2583: Not markuped "Ticket details" on timeline
---------------------------------+------------------------------------------
 Reporter:  trac-ja at i-act.co.jp  |       Owner:  jonas
     Type:  defect               |      Status:  new  
 Priority:  normal               |   Milestone:       
Component:  ticket system        |     Version:  0.9.3
 Severity:  normal               |    Keywords:       
---------------------------------+------------------------------------------
 On trac-0.9.3, Timeline event displays un-marked up messages,
 if "Ticket details" has some changed fields.

 Here is a patch:
 {{{
 #!diff
 Index: trac/ticket/web_ui.py
 ===================================================================
 --- trac/ticket/web_ui.py       (revision 2754)
 +++ trac/ticket/web_ui.py       (working copy)
 @@ -479,8 +479,8 @@
                                      'updated by %s', summary, id, type,
 author)
                  message = util.Markup()
                  if len(field_changes) > 0:
 -                    message = util.Markup(', ').join(field_changes) + \
 -                              ' changed.<br />'
 +                    message = util.Markup(', '.join(field_changes) + \
 +                              ' changed.<br />')
                  message += wiki_to_oneliner(comment, self.env, db,
                                              shorten=True,
 absurls=absurls)
                  yield 'editedticket', href, title, t, author, message
 }}}

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2583>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list