[freenet-cvs] r19128 - trunk/apps/thingamablog/src/net/sf/thingamablog/gui/properties
dieppe at freenetproject.org
dieppe at freenetproject.org
Thu Apr 10 01:41:28 UTC 2008
Author: dieppe
Date: 2008-04-10 01:41:28 +0000 (Thu, 10 Apr 2008)
New Revision: 19128
Modified:
trunk/apps/thingamablog/src/net/sf/thingamablog/gui/properties/TBPublishTransportPanel.java
Log:
Fixing edition number in the *Url
(current edition number + 1)
Modified: trunk/apps/thingamablog/src/net/sf/thingamablog/gui/properties/TBPublishTransportPanel.java
===================================================================
--- trunk/apps/thingamablog/src/net/sf/thingamablog/gui/properties/TBPublishTransportPanel.java 2008-04-10 01:20:13 UTC (rev 19127)
+++ trunk/apps/thingamablog/src/net/sf/thingamablog/gui/properties/TBPublishTransportPanel.java 2008-04-10 01:41:28 UTC (rev 19128)
@@ -271,7 +271,8 @@
}
String url = fcpPanel.getRequestUri();
int firstSlash = url.indexOf('/');
- url = url.substring(0,firstSlash+1) + ASCIIconv.convertNonAscii(fcpPanel.getFlogSSKPath()) + "/" + fcpPanel.getEditionNumber() + "/";
+ // The url will be use for the next edition of the flog, so it must point to the next edition
+ url = url.substring(0,firstSlash+1) + ASCIIconv.convertNonAscii(fcpPanel.getFlogSSKPath()) + "/" + (fcpPanel.getEditionNumber()+1) + "/";
weblog.setBlogUrls("none",url,url,url);
pt.setEdition(fcpPanel.getEditionNumber());
pt.setSSKPath(fcpPanel.getFlogSSKPath());
More information about the cvs
mailing list