Modify

Opened 5 years ago

Closed 5 years ago

#5587 closed defect (fixed)

add get_htdocs_dirs

Reported by: ThurnerRupert Owned by: jetheis
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 5 years ago by jetheis

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

Add Comment

Modify Ticket

Action
as closed The owner will remain jetheis.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.