roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r395018 - /incubator/roller/branches/roller-newbackend/src/org/roller/presentation/website/actions/WebsiteFormAction.java
Date Tue, 18 Apr 2006 19:59:30 GMT
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"));



Mime
View raw message