mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Review feedback
This commit is contained in:
@@ -56,8 +56,3 @@ log4j.logger.org.alfresco.module.org_alfresco_module_rm.patch=info
|
|||||||
# Job debug
|
# Job debug
|
||||||
#
|
#
|
||||||
#log4j.logger.org.alfresco.module.org_alfresco_module_rm.job=debug
|
#log4j.logger.org.alfresco.module.org_alfresco_module_rm.job=debug
|
||||||
|
|
||||||
#
|
|
||||||
# Module compatibility debug
|
|
||||||
#
|
|
||||||
log4j.logger.org.alfresco.module.org_alfresco_module_rm.bootstrap.ModuleCompatibilityComponent=debug
|
|
@@ -16,6 +16,7 @@
|
|||||||
* You should have received a copy of the GNU Lesser General Public License
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.alfresco.module.org_alfresco_module_rm.bootstrap;
|
package org.alfresco.module.org_alfresco_module_rm.bootstrap;
|
||||||
|
|
||||||
import org.alfresco.service.cmr.admin.RepoUsage.LicenseMode;
|
import org.alfresco.service.cmr.admin.RepoUsage.LicenseMode;
|
||||||
@@ -100,17 +101,17 @@ public class ModuleCompatibilityComponent implements ApplicationListener<Context
|
|||||||
|
|
||||||
if (LicenseMode.ENTERPRISE.equals(licenseMode) && !isRMEnterprise)
|
if (LicenseMode.ENTERPRISE.equals(licenseMode) && !isRMEnterprise)
|
||||||
{
|
{
|
||||||
// running enterprise rm on community core so close application context
|
// running enterprise rm on community core so close application
|
||||||
closeApplicationContext(
|
// context
|
||||||
applicationContext,
|
closeApplicationContext(applicationContext,
|
||||||
"Running Community Records Management Module on Enterprise Alfresco One is not a supported configuration.");
|
"Running Community Records Management Module on Enterprise Alfresco One is not a supported configuration.");
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (!LicenseMode.ENTERPRISE.equals(licenseMode) && isRMEnterprise)
|
else if (!LicenseMode.ENTERPRISE.equals(licenseMode) && isRMEnterprise)
|
||||||
{
|
{
|
||||||
// running community rm on enterprise core so close application context
|
// running community rm on enterprise core so close application
|
||||||
closeApplicationContext(
|
// context
|
||||||
applicationContext,
|
closeApplicationContext(applicationContext,
|
||||||
"Running Enterprise Records Management module on Community Alfresco One is not a supported configuration.");
|
"Running Enterprise Records Management module on Community Alfresco One is not a supported configuration.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user