MantisBT - ATutor
View Issue Details
0004626ATutorThemepublic2010-11-26 15:252010-12-20 10:18
cindy 
cindy 
normalminoralways
closedfixed 
2.0.1 
2.0.2 
SVN
0004626: Correct wrong theme name "fuild"
The insertion of theme "fuild", which essentially should be "fluid" is introduced in 1.6.1 @ atutor_schema.sql

This mistake affects all following ATutor versions. When "fuild" theme is set, all ATutor pages turn into blank.

The fix includes, but not restricted to:
1. vitals.inc.php, add error handling when the given theme folder does not exist;
2. update tables "themes", "config" -> name "pref_defaults", "members"."preferences", to replace "fuild" to "fluid".
No tags attached.
Issue History
2010-11-26 15:25cindyNew Issue
2010-11-26 15:25cindyAffects version => SVN
2010-11-26 15:25cindySummaryCorrect typo on theme name "fuild" => Correct wrong theme name "fuild"
2010-11-30 08:50gregStatusnew => assigned
2010-11-30 08:50gregAssigned To => cindy
2010-12-10 15:30cindyStatusassigned => resolved
2010-12-10 15:30cindyFixed in Version => 2.0.2
2010-12-10 15:30cindyResolutionopen => fixed
2010-12-10 15:30cindyNote Added: 0004786
2010-12-20 10:18gregStatusresolved => closed

Notes
(0004786)
cindy   
2010-12-10 15:30   
SVN revision: 10506

Solution:
1. modified vitals.inc.php to handle the case that the theme folder does not exist;
2. Add into upgrade step to replace "fuild" to "fluid" in db tables (themes, members.preferences, config.name == "pref_defaults")

Affected:
include/vitals.inc.php
install/include/ustep3.php