Upgrade ccm-cms-6.6.1-6.6.2 (Anlegen Content Center und Content Service als New Style Apps) lief nicht korrekt

git-svn-id: https://svn.libreccm.org/ccm/trunk@1885 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2012-10-20 13:35:03 +00:00
parent a4090e4220
commit 89e48912c3
1 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ public class AddNewStyleApplicationEntries extends Program {
ApplicationType appType = null; ApplicationType appType = null;
appType = Loader.loadWorkspaceApplicationType(); appType = Loader.loadWorkspaceApplicationType();
// get corresponding package type // get corresponding package type
PackageType packageType = appType.getPackageType(); PackageType packageType = PackageType.findByKey("content-center");
// get all installed instances // get all installed instances
PackageInstanceCollection allPackages = packageType PackageInstanceCollection allPackages = packageType
.getInstances(); .getInstances();
@ -119,7 +119,7 @@ public class AddNewStyleApplicationEntries extends Program {
appType = null; appType = null;
appType = Loader.loadServiceApplicationType(); appType = Loader.loadServiceApplicationType();
// get corresponding package type // get corresponding package type
packageType = appType.getPackageType(); packageType = PackageType.findByKey("cms-service");
// get all installed instances // get all installed instances
allPackages = packageType.getInstances(); allPackages = packageType.getInstances();
aPackage = null ; aPackage = null ;