Modify ↓
#11104 closed defect (fixed)
Custom theme admin module crashes on misconfiguration
Reported by: | Olemis Lang | Owned by: | Olemis Lang |
---|---|---|---|
Priority: | highest | Component: | ThemeEnginePlugin |
Severity: | blocker | Keywords: | templates |
Cc: | Jota | Trac Release: | 1.0 |
Description
Error message
Trac detected an internal error: UndefinedError: None has no member named "get"
Python Traceback
Most recent call last: File "/path/to/themeengineplugin/trunk/themeengine/templates/admin_theme_custom.html", line 19, in <Expression u"iter(current_theme.get('colors',()))"> }}}
Attachments (0)
Change History (2)
comment:1 follow-up: 2 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
Note: See
TracTickets for help on using
tickets.
(In [13184]) ThemeEnginePlugin [ fixes #11104 ]: Current theme in custom theme admin template defaults to empty dict Error recovery on misconfiguration in ThemeBase.is_active_theme
refs #11103 - because error on misconfiguration also affects simple theme admin panel refs #10852 - the original ticket introducing is_active_theme API method