cmailleux 2005/11/25 15:18:22 CET
Modified files:
core/src/java/org/jahia/services/importexport
ImportExportBaseService.java
Log:
Correctly clalcuate the version id
Revision Changes Path
1.50 +1 -1
jahia/core/src/java/org/jahia/services/importexport/ImportExportBaseService.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/java/org/jahia/services/importexport/ImportExportBaseService.java.diff?r1=1.49&r2=1.50&f=h
Index: ImportExportBaseService.java
===================================================================
RCS file:
/home/cvs/repository/jahia/core/src/java/org/jahia/services/importexport/ImportExportBaseService.java,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- ImportExportBaseService.java 25 Nov 2005 11:33:01 -0000 1.49
+++ ImportExportBaseService.java 25 Nov 2005 14:18:22 -0000 1.50
@@ -999,7 +999,7 @@
final ContentPage homeContentPage = site.getHomeContentPage();
// There is a previous call so export only modification from this
point in time
if (previousCall != null) {
- from = new
EntryLoadRequest(EntryLoadRequest.VERSIONED_WORKFLOW_STATE, new
Long(previousCall.getTime()).intValue(),
site.getLanguageSettingsAsLocales(true));
+ from = new
EntryLoadRequest(EntryLoadRequest.VERSIONED_WORKFLOW_STATE, new
Long(previousCall.getTime()/1000).intValue(),
site.getLanguageSettingsAsLocales(true));
} else {
// There is no previous call so try to find the first version
ever for the homepage of the source site
List list = homeContentPage.getClosestVersionedEntryStates(0);