Opened 14 years ago
Closed 14 years ago
#7982 closed defect (fixed)
Enabling ClientsAdminPanel & ClientsEventsAdminPanel causes commit ticket updater error
Reported by: | Owned by: | Colin Guthrie | |
---|---|---|---|
Priority: | normal | Component: | ClientsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
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/console.py", line 107, in onecmd
rv = cmd.Cmd.onecmd(self, line) or 0
File "/usr/lib/python2.5/cmd.py", line 218, in onecmd
return self.default(line)
File "build/bdist.linux-x86_64/egg/trac/admin/console.py", line 266, in default
return cmd_mgr.execute_command(*args)
File "build/bdist.linux-x86_64/egg/trac/admin/api.py", 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 14 years ago by
Owner: | changed from Colin Guthrie to anonymous |
---|---|
Status: | new → assigned |
comment:2 Changed 14 years ago by
Owner: | changed from anonymous to Colin Guthrie |
---|---|
Status: | assigned → new |
comment:3 Changed 14 years ago by
comment:4 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Solution is quite simple. You need to add missing function to two classes in files admin.py and eventadmin.py: