--- portal/portal-impl/src/com/liferay/portal/upgrade/v6_0_0/UpgradeDocumentLibrary.java 2010-07-09 12:25:04.000000000 +0200 +++ portal-plugins/ext/abas-ext/docroot/WEB-INF/ext-impl/src/com/liferay/portal/upgrade/v6_0_0/UpgradeDocumentLibrary.java 2010-08-27 07:12:41.000000000 +0200 @@ -14,8 +14,11 @@ package com.liferay.portal.upgrade.v6_0_0; +import com.liferay.documentlibrary.NoSuchFileException; import com.liferay.documentlibrary.service.DLServiceUtil; import com.liferay.portal.kernel.dao.jdbc.DataAccess; +import com.liferay.portal.kernel.log.Log; +import com.liferay.portal.kernel.log.LogFactoryUtil; import com.liferay.portal.kernel.upgrade.UpgradeProcess; import com.liferay.portal.kernel.upgrade.util.UpgradeColumn; import com.liferay.portal.kernel.upgrade.util.UpgradeTable; @@ -125,9 +128,13 @@ public class UpgradeDocumentLibrary exte name); if (!newName.equals(name)) { - DLServiceUtil.updateFile( - companyId, portletId, groupId, repositoryId, name, - newName, false); + try{ + DLServiceUtil.updateFile( + companyId, portletId, groupId, repositoryId, name, + newName, false); + } catch(NoSuchFileException nSFE){ + _log.error(nSFE); + } } addFileVersion( @@ -189,4 +196,5 @@ public class UpgradeDocumentLibrary exte upgradeTable.updateTable(); } + private static Log _log = LogFactoryUtil.getLog(UpgradeDocumentLibrary.class); } \ Kein Zeilenumbruch am Dateiende.