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-94f89814c4dfmaster
parent
a4090e4220
commit
89e48912c3
|
|
@ -93,7 +93,7 @@ public class AddNewStyleApplicationEntries extends Program {
|
|||
ApplicationType appType = null;
|
||||
appType = Loader.loadWorkspaceApplicationType();
|
||||
// get corresponding package type
|
||||
PackageType packageType = appType.getPackageType();
|
||||
PackageType packageType = PackageType.findByKey("content-center");
|
||||
// get all installed instances
|
||||
PackageInstanceCollection allPackages = packageType
|
||||
.getInstances();
|
||||
|
|
@ -119,7 +119,7 @@ public class AddNewStyleApplicationEntries extends Program {
|
|||
appType = null;
|
||||
appType = Loader.loadServiceApplicationType();
|
||||
// get corresponding package type
|
||||
packageType = appType.getPackageType();
|
||||
packageType = PackageType.findByKey("cms-service");
|
||||
// get all installed instances
|
||||
allPackages = packageType.getInstances();
|
||||
aPackage = null ;
|
||||
|
|
|
|||
Loading…
Reference in New Issue