Modify

Opened 12 years ago

#10419 new defect

Usernames in comments not updated

Reported by: Sam Halliday Owned by: Martin Scharrer
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)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Martin Scharrer.

Add Comment


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

 
Note: See TracTickets for help on using tickets.