Ticket #10418 (closed enhancement: fixed)

Opened 8 months ago

Last modified 7 months ago

Don't add a comment

Reported by: fommil Assigned to: bjornharrtell
Priority: normal Component: GridModifyPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

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/web_ui.py
--- a/gridmodifyplugin/trunk/gridmod/web_ui.py	Sat Aug 11 22:09:49 2012 +0000
+++ b/gridmodifyplugin/trunk/gridmod/web_ui.py	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)
 
                 try:
                     tn = TicketNotifyEmail(self.env)
diff -r ec2c58e517b9 renameuserplugin/0.12/setup.py

Attachments

Change History

10/03/12 15:05:51 changed by fommil

  • type changed from defect to enhancement.

10/03/12 16:23:59 changed by rjollos

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

10/19/12 22:23:50 changed by rjollos

  • status changed from new to closed.
  • resolution set to fixed.

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

10/19/12 23:09:02 changed by rjollos

(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='').


Add/Change #10418 (Don't add a comment)




Change Properties
Action