Author: nscavell
Date: 2011-10-20 23:11:40 -0400 (Thu, 20 Oct 2011)
New Revision: 7809
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/mop/management/exportimport/PageImportTask.java
Log:
GTNPORTAL-2227: Invalid use of LazyPageList in PageImportTask when importMode is set to
overwrite.
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/mop/management/exportimport/PageImportTask.java
===================================================================
---
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/mop/management/exportimport/PageImportTask.java 2011-10-21
02:54:19 UTC (rev 7808)
+++
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/mop/management/exportimport/PageImportTask.java 2011-10-21
03:11:40 UTC (rev 7809)
@@ -135,7 +135,7 @@
}
else
{
- List<Page> existingPages = list.getAll();
+ List<Page> existingPages = new
ArrayList<Page>(list.getAll());
rollbackSaves = new Page.PageSet();
rollbackSaves.setPages(new ArrayList<Page>(size));
rollbackDeletes = new Page.PageSet();
Show replies by date