Modify

Opened 22 months ago

#10419 new defect

Usernames in comments not updated

Reported by: fommil Owned by: martin_s
Priority: normal Component: RenameUserPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

Thanks for this excellent plugin!

I used it to change a bunch of users from username@… to username. This appears to have worked everywhere except in ticket comments and wiki page revisions where the old usernames are still there. Please support changing those values as well.

BTW, I think I added the patch below to get the plugin to work for me. Unfortunately Trac-Hacks was down at the time and I couldn't submit a bug report against it. Now I can't remember why:

--- a/renameuserplugin/0.12/setup.py	Sat Aug 11 22:09:49 2012 +0000
+++ b/renameuserplugin/0.12/setup.py	Fri Sep 28 18:22:23 2012 +0100
@@ -8,21 +8,6 @@
 
 extra = {}
 
-try:
-    from trac.util.dist  import  get_l10n_cmdclass
-    cmdclass = get_l10n_cmdclass()
-    if cmdclass:
-        extra['cmdclass'] = cmdclass
-        extractors = [
-            ('*.py',              'python', None),
-            ('templates/**.html', 'genshi', None),
-        ]
-        extra['message_extractors'] = {
-            'tracrenameuser': extractors,
-        }
-except ImportError:
-    pass
-
 setup(
     name = 'TracRenameUserPlugin',
     version = '0.1',

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.