Opened 4 years ago

Closed 3 years ago

#7982 closed defect (fixed)

Enabling ClientsAdminPanel & ClientsEventsAdminPanel causes commit ticket updater error

Reported by: tdrissen@… Owned by: coling
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 4 years ago by anonymous

  • Owner changed from coling to anonymous
  • Status changed from new to assigned

comment:2 Changed 4 years ago by anonymous

  • Owner changed from anonymous to coling
  • Status changed from assigned to new

comment:3 Changed 3 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 3 years ago by coling

  • Resolution set to fixed
  • Status changed from new to closed

(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

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from coling. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.