Skip to content
Snippets Groups Projects
Commit 4a5614b0 authored by srosse's avatar srosse
Browse files

no-jira: fix 7.1.1 upgrader which works only if portfolio enabled, and never set has completed

parent e5096007
No related branches found
No related tags found
No related merge requests found
...@@ -101,17 +101,16 @@ public class OLATUpgrade_7_1_1 extends OLATUpgrade { ...@@ -101,17 +101,16 @@ public class OLATUpgrade_7_1_1 extends OLATUpgrade {
if (uhd.isInstallationComplete()) return false; if (uhd.isInstallationComplete()) return false;
} }
if(!(portfolioCourseNodeEnabled && epfModule.isEnabled())) return false; if((portfolioCourseNodeEnabled && epfModule.isEnabled())) {
// get template maps with invalid references and fix them
// get template maps with invalid references and fix them fixInvalidMapReferences(upgradeManager, uhd);
fixInvalidMapReferences(upgradeManager, uhd); // remove invalid references on db
fixInvalidTemplateMaps(upgradeManager, uhd);
// remove invalid references on db }
fixInvalidTemplateMaps(upgradeManager, uhd);
migrateSecurityGroups(upgradeManager, uhd); migrateSecurityGroups(upgradeManager, uhd);
// uhd.setInstallationComplete(true); uhd.setInstallationComplete(true);
upgradeManager.setUpgradesHistory(uhd, VERSION); upgradeManager.setUpgradesHistory(uhd, VERSION);
log.audit("Finished OLATUpgrade_7_1_1 successfully!"); log.audit("Finished OLATUpgrade_7_1_1 successfully!");
return true; return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment