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/BRANCHES/DEV/5.1.N/root@115292 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andreea Dragoi
2015-10-27 08:42:27 +00:00
parent 707ba47cec
commit 50827d7789

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)