Merged 5.1-MNT1 (5.1.0) to HEAD (5.1)

115578 adavis: Merged 5.1.N (5.1.1) to 5.1-MNT1 (5.1.0)
      115292 adragoi: Merged 5.0.N (5.0.3) to 5.1.N (5.1.1)
         115032 adavis: Merged 5.0.2-CLOUD (Cloud ) to 5.0.N (5.0.3)
            115030 adavis: Merged 5.0.2-PLUS (5.0.2-PLUS) to 5.0.2-CLOUD (Cloud )
               114982 gcornwell: RA-608: Cloud repo fails to startup following successful bootstrap


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@115708 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2015-10-30 00:19:32 +00:00
parent 63570bbead
commit 9fe8315e16

View File

@@ -576,6 +576,12 @@ public class PatchServiceImpl implements PatchService
Descriptor serverDescriptor = descriptorService.getServerDescriptor();
String server = (serverDescriptor.getVersion() + " - " + serverDescriptor.getEdition());
if (server.length() > 64)
{
logger.error("Server version '" + server + "' is too long for the 'applied_to_server' column therefore patch '" +
patch.getId() + "' will not be registered.");
}
// create or update the record of execution
boolean create = true;
if (appliedPatch == null)