Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10418 closed enhancement (fixed)

Don't add a comment

Reported by: Sam Halliday Owned by: Björn Harrtell
Priority: normal Component: GridModifyPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0


Thanks for this great plugin!

I find the auto comments to be very intrusive. The following patch will disable them, but if you feel there is value in the comments I would recommend having an option (off by default) for adding the comments.

diff -r ec2c58e517b9 gridmodifyplugin/trunk/gridmod/
--- a/gridmodifyplugin/trunk/gridmod/	Sat Aug 11 22:09:49 2012 +0000
+++ b/gridmodifyplugin/trunk/gridmod/	Fri Sep 28 18:22:23 2012 +0100
@@ -97,7 +97,7 @@
                     #   * Rendering is handled differently in the report form
                     #   * TextAreas support Wiki formatting so would need to use the Wiki engine
-                ticket.save_changes(author=req.authname, comment='updated by gridmod plugin')
+                ticket.save_changes(author=req.authname)
                     tn = TicketNotifyEmail(self.env)
diff -r ec2c58e517b9 renameuserplugin/0.12/

Attachments (0)

Change History (4)

comment:1 Changed 11 years ago by Sam Halliday

Type: defectenhancement

comment:2 Changed 11 years ago by Ryan J Ollos

Just wanted to ask if this plugin is still being maintained by bjornharrtell.

comment:3 Changed 11 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

(In [12221]) Fixes #10418: The superfluous comment "updated by gridmod plugin" is no longer added when editing a ticket in the grid.

comment:4 Changed 11 years ago by Ryan J Ollos

(In [12222]) Refs #10418: Trac 0.11 requires an argument for comment. The method signature is save_changes(self, author, comment, when=None, db=None, cnum=''). In Trac 0.12, the method signature is save_changes(self, author=None, comment=None, when=None, db=None, cnum='').

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Björn Harrtell.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.