MNT-17045: CONTENT INTEGRITY ERROR too generic. we would need to ouput the path of the missing file we check

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133998 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2016-12-22 10:09:32 +00:00
parent 934fd3414e
commit f19c49b05f
2 changed files with 3 additions and 7 deletions

View File

@@ -227,6 +227,8 @@ public class ConfigurationChecker extends AbstractLifecycleBean
{
// the property is there, but the content is not
versionPropertiesContentAvailable = false;
String msg = I18NUtil.getMessage(ERR_MISSING_CONTENT, reader.getContentUrl());
logger.error(msg);
}
}
@@ -245,12 +247,6 @@ public class ConfigurationChecker extends AbstractLifecycleBean
String msgRecover = I18NUtil.getMessage(MSG_HOWTO_INDEX_RECOVER);
logger.info(msgRecover);
}
// check for missing content
if (!versionPropertiesContentAvailable)
{
String msg = I18NUtil.getMessage(ERR_MISSING_CONTENT);
logger.error(msg);
}
// handle either content or indexes missing
if (missingStoreIndexes > 0 || !versionPropertiesContentAvailable)
{