From 296b8285b4b7b43b894681714b31dedc60193c39 Mon Sep 17 00:00:00 2001 From: j2blake Date: Fri, 30 Sep 2011 22:10:36 +0000 Subject: [PATCH] NIHVIVO-1810 Change the way that the default theme and the list of available themes are handled. If the application is configured to use a theme that is not found, it will throw a warning on the StartupStatus and use the default theme instead. --- productMods/WEB-INF/resources/startup_listeners.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/productMods/WEB-INF/resources/startup_listeners.txt b/productMods/WEB-INF/resources/startup_listeners.txt index 00b86db8..d1108e88 100644 --- a/productMods/WEB-INF/resources/startup_listeners.txt +++ b/productMods/WEB-INF/resources/startup_listeners.txt @@ -11,9 +11,6 @@ edu.cornell.mannlib.vitro.webapp.config.RevisionInfoSetup edu.cornell.mannlib.vitro.webapp.email.FreemarkerEmailFactory$Setup -# DefaultThemeSetup needs to run before the JenaDataSourceSetup to allow creation of default portal and tab -edu.cornell.mannlib.vitro.webapp.servlet.setup.DefaultThemeSetup - # Comment out this listener to run Vitro without a database # If used, this listener must be run before JenaDataSourceSetup edu.cornell.mannlib.vitro.webapp.servlet.setup.JenaPersistentDataSourceSetup @@ -39,6 +36,9 @@ edu.cornell.mannlib.vitro.webapp.servlet.setup.FileGraphSetup edu.cornell.mannlib.vitro.webapp.servlet.setup.SimpleReasonerSetup +# Must run after JenaDataSourceSetup +edu.cornell.mannlib.vitro.webapp.servlet.setup.ThemeInfoSetup + edu.cornell.mannlib.vitro.webapp.auth.permissions.PermissionSetsLoader edu.cornell.mannlib.vitro.webapp.auth.policy.bean.PropertyRestrictionPolicyHelper$Setup