Modify ↓
Opened 9 years ago
Closed 9 years ago
#12142 closed defect (fixed)
EnvironmentStub appears on Trac plugin admin panel
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.9 |
Component: | admin/web | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
Don't show |
||
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.
Attachments (0)
Change History (2)
comment:1 by , 9 years ago
Milestone: | → 1.0.9 |
---|---|
Owner: | set to |
Release Notes: | modified (diff) |
Status: | new → assigned |
comment:2 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
I don't see any issues with making a test Component abstract and not having it in the Component registry. Please let me know if you see any issues with this.
Proposed changes in log:rjollos.git:t12142.