Author: nscavell
Date: 2011-10-20 23:16:23 -0400 (Thu, 20 Oct 2011)
New Revision: 7810
Modified:
epp/portal/branches/EPP_5_2_Branch/component/portal/src/main/java/org/exoplatform/portal/mop/management/exportimport/PageImportTask.java
Log:
JBEPP-1306: Invalid use of LazyPageList in PageImportTask when importMode is set to
overwrite.
Modified:
epp/portal/branches/EPP_5_2_Branch/component/portal/src/main/java/org/exoplatform/portal/mop/management/exportimport/PageImportTask.java
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/component/portal/src/main/java/org/exoplatform/portal/mop/management/exportimport/PageImportTask.java 2011-10-21
03:11:40 UTC (rev 7809)
+++
epp/portal/branches/EPP_5_2_Branch/component/portal/src/main/java/org/exoplatform/portal/mop/management/exportimport/PageImportTask.java 2011-10-21
03:16:23 UTC (rev 7810)
@@ -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