Modify

Opened 15 years ago

Closed 10 years ago

#5950 closed defect (worksforme)

Chosen theme string is treated as case-sensitive

Reported by: ccockrell@… Owned by: Olemis Lang
Priority: normal Component: ThemeEnginePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I am using Ubuntu Server (9.04) and Trac 0.11.1.

I installed the ThemeEngine plugin and a handful of themesfrom the source using easy_install, enabled them all, restarted the web server - all ok.

But when I chose a theme using the webadmin page, a message appeared saying that the "theme could not be found, check that the theme plugin has been enabled". The problem turned out to be the case of the theme name under the trac.ini [theme] section.

So, if I selected CrystalX, the automatically generated string of 'Crystalx' caused the error, but when I manually altered it to 'CrystalX' the theme worked.

I installed crystalx, pydotorg, gnomebr, gamedev, moveabletypeskin themes, and the only one that worked out of the box was gamedev.

Crystalx should be CrystalX Gnomebr should be GnomeBR Moveabletypeskin should be MoveableTypeSkin Pydotorg should be PyDotOrg

I reported it against the themeengine because it happens with a number of themes, so I am not sure where the problem lies.

Attachments (0)

Change History (4)

comment:2 Changed 14 years ago by Michael Ching

To give more information on this, it appears that the theme name gets written title-cased to the trac.ini file (e.g. GnomeBR -> Gnomebr, default -> Default).

Gamedev works because the internal theme name happens to match this capitalization.

comment:3 Changed 14 years ago by Michael Ching

http://trac-hacks.org/ticket/2958 seems to resolve this.

comment:4 Changed 10 years ago by Olemis Lang

Owner: changed from Noah Kantrowitz to Olemis Lang

comment:5 Changed 10 years ago by Olemis Lang

Resolution: worksforme
Status: newclosed

I can't reproduce the issue running recent versions of the plugin . Feel free to reopen this ticket if failure is detected .

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.