mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Detection of missing patch description (potential cause of AR-440)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2453 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -202,7 +202,13 @@ public class PatchServiceImpl implements PatchService
|
||||
appliedPatch = patchDaoService.newAppliedPatch(patch.getId());
|
||||
}
|
||||
// fill in the record's details
|
||||
appliedPatch.setDescription(I18NUtil.getMessage(patch.getDescription()));
|
||||
String patchDescription = I18NUtil.getMessage(patch.getDescription());
|
||||
if (patchDescription == null)
|
||||
{
|
||||
logger.warn("Patch description is not available: " + patch);
|
||||
patchDescription = "No patch description available";
|
||||
}
|
||||
appliedPatch.setDescription(patchDescription);
|
||||
appliedPatch.setFixesFromSchema(patch.getFixesFromSchema());
|
||||
appliedPatch.setFixesToSchema(patch.getFixesToSchema());
|
||||
appliedPatch.setTargetSchema(patch.getTargetSchema()); // the schema the server is expecting
|
||||
|
Reference in New Issue
Block a user