Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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 Changed 11 years ago by Olemis Lang

Resolution: fixed
Status: newclosed

(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

comment:2 in reply to:  1 Changed 11 years ago by Olemis Lang

Replying to olemis:

(In [13184])

[...]

refs #11103 - because error on misconfiguration also affects simple theme admin panel

... if at least an instance of ThemeBase class was activated .

[...]

Modify Ticket

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