mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-22 15:12:38 +00:00
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:
@@ -576,6 +576,12 @@ public class PatchServiceImpl implements PatchService
|
|||||||
Descriptor serverDescriptor = descriptorService.getServerDescriptor();
|
Descriptor serverDescriptor = descriptorService.getServerDescriptor();
|
||||||
String server = (serverDescriptor.getVersion() + " - " + serverDescriptor.getEdition());
|
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
|
// create or update the record of execution
|
||||||
boolean create = true;
|
boolean create = true;
|
||||||
if (appliedPatch == null)
|
if (appliedPatch == null)
|
||||||
|
|||||||
Reference in New Issue
Block a user