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;
|
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 ;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue