Opened 12 years ago

Closed 11 years ago

#7982 closed defect (fixed)

Enabling ClientsAdminPanel & ClientsEventsAdminPanel causes commit ticket updater error

Reported by: tdrissen@… Owned by: Colin Guthrie
Priority: normal Component: ClientsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12


I've installed ClientsPlugin and it works fine, but I have a problem with this in combination with the ticket commit updater.

When I enable the ClientsAdminPanel and ClientEventsAdminPanel plugin in the adminpanel, the auto ticket commit updater fails. It just doesn't update tickets anymore. The trac error log reports the following:

2010-11-03 11:41:31,153 Trac[console] ERROR: Exception in trac-admin command: Traceback (most recent call last):

File "build/bdist.linux-x86_64/egg/trac/admin/", line 107, in onecmd

rv = cmd.Cmd.onecmd(self, line) or 0

File "/usr/lib/python2.5/", line 218, in onecmd

return self.default(line)

File "build/bdist.linux-x86_64/egg/trac/admin/", line 266, in default

return cmd_mgr.execute_command(*args)

File "build/bdist.linux-x86_64/egg/trac/admin/", line 117, in execute_command

for cmd in provider.get_admin_commands() or []:

AttributeError?: 'ClientAdminPanel?' object has no attribute 'get_admin_commands'

Attachments (0)

Change History (4)

comment:1 Changed 12 years ago by anonymous

Owner: changed from Colin Guthrie to anonymous
Status: newassigned

comment:2 Changed 12 years ago by anonymous

Owner: changed from anonymous to Colin Guthrie
Status: assignednew

comment:3 Changed 11 years ago by dr4cul4

Solution is quite simple. You need to add missing function to two classes in files and

def get_admin_commands(self):

return None

comment:4 Changed 11 years ago by Colin Guthrie

Resolution: fixed
Status: newclosed

(In [9914]) Add missing methods to admin classes. Closes #7982.

Thanks for the tip. I've not tested, but I'm sure you're correct :D

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Colin Guthrie.
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.