You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2006/04/18 21:59:30 UTC
svn commit: r395018 -
/incubator/roller/branches/roller-newbackend/src/org/roller/presentation/website/actions/WebsiteFormAction.java
Author: agilliland
Date: Tue Apr 18 12:59:29 2006
New Revision: 395018
URL: http://svn.apache.org/viewcvs?rev=395018&view=rev
Log:
need to flush after calling applyRefererFilters() if we want changes to be persisted.
Modified:
incubator/roller/branches/roller-newbackend/src/org/roller/presentation/website/actions/WebsiteFormAction.java
Modified: incubator/roller/branches/roller-newbackend/src/org/roller/presentation/website/actions/WebsiteFormAction.java
URL: http://svn.apache.org/viewcvs/incubator/roller/branches/roller-newbackend/src/org/roller/presentation/website/actions/WebsiteFormAction.java?rev=395018&r1=395017&r2=395018&view=diff
==============================================================================
--- incubator/roller/branches/roller-newbackend/src/org/roller/presentation/website/actions/WebsiteFormAction.java (original)
+++ incubator/roller/branches/roller-newbackend/src/org/roller/presentation/website/actions/WebsiteFormAction.java Tue Apr 18 12:59:29 2006
@@ -150,9 +150,9 @@
form.copyTo(wd, request.getLocale());
umgr.storeWebsite(wd);
- RollerFactory.getRoller().flush();
-
RollerFactory.getRoller().getRefererManager().applyRefererFilters(wd);
+
+ RollerFactory.getRoller().flush();
messages.add(null,
new ActionMessage("websiteSettings.savedChanges"));