Ticket #10419 (new defect)

Opened 8 months ago

Usernames in comments not updated

Reported by: fommil Assigned to: 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@gmail.com 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


Add/Change #10419 (Usernames in comments not updated)




Change Properties
Action