Modify

Opened 8 years ago

Closed 8 years ago

#5587 closed defect (fixed)

add get_htdocs_dirs

Reported by: rupert thurner Owned by: Jimmy Theis
Priority: normal Component: CustomSelectAdminPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.11

Description

to avoid Trac detected an internal error: AttributeError: 'CustomSelectPanel' object has no attribute 'get_htdocs_dirs'

see http://groups.google.com/group/trac-users/browse_thread/thread/f97000ba4331954e

pls add

#text/diff
Index: CustomSelectAdmin/customselectadmin.py
===================================================================
--- CustomSelectAdmin/customselectadmin.py      (revision 6310)
+++ CustomSelectAdmin/customselectadmin.py      (working copy)
@@ -103,6 +103,8 @@
         return 'custom_select_enums.html', data

     # ITemplateProvider methods
+    def get_htdocs_dirs(self):
+        return []
     def get_templates_dirs(self):
         from pkg_resources import resource_filename
         return [resource_filename(__name__, 'templates')]

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by Jimmy Theis

Resolution: fixed
Status: newclosed

Modify Ticket

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