Opened 9 years ago
Last modified 9 years ago
#12142 closed defect
EnvironmentStub appears on Trac plugin admin panel — at Initial Version
Reported by: | Ryan J Ollos | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.9 |
Component: | admin/web | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
trac.test.EnvironmentStub
appears on the plugin admin page.
The issue is resolved with the following patch, but this might be a semantic abuse of abstract
.
-
trac/test.py
diff --git a/trac/test.py b/trac/test.py index 63051d1..c2e402b 100755
a b class EnvironmentStub(Environment): 231 231 232 232 global_databasemanager = None 233 233 required = False 234 abstract = True 234 235 235 236 def __init__(self, default_data=False, enable=None, disable=None, 236 237 path=None, destroying=False):
I have vague memories of having dealt with this previously, but perhaps I'm confusing the situation with something else.
Note:
See TracTickets
for help on using tickets.