mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V2.1 to HEAD
6447: Office Add-Ins: Files which missed CHK-1041 6448: Fix for WCM-692 (bug in parsing of port number in filesystem deployment) 6449: Office Webscripts: Fix for typo when getting task resource nodes 6450: Fix for WCM-707 (content launch section is shown when there is no workflow defined) 6451: Removed unused AVM hooks in content stream listener 6452: Bootstrap processes killed on VM shutdown. 6453: Fix for WCM-720 - actions in Task Dialog were no longer available after lock checking added to client ui evaluators. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6734 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -230,7 +230,7 @@ public class AVMDeploySnapshotAction extends ActionExecuterAbstractBase
|
||||
if (fileServerDeployment)
|
||||
{
|
||||
// remove the prefixed \\
|
||||
host = targetServer.substring(FILE_SERVER_PREFIX.length());
|
||||
host = host.substring(FILE_SERVER_PREFIX.length());
|
||||
|
||||
if (logger.isDebugEnabled())
|
||||
logger.debug("Performing file server deployment to " + host + ":" + port);
|
||||
|
@@ -422,7 +422,7 @@ public class RoutingContentService implements ContentService
|
||||
if (update)
|
||||
{
|
||||
// need a listener to update the node when the stream closes
|
||||
WriteStreamListener listener = new WriteStreamListener(nodeService, avmService, nodeRef, propertyQName, writer);
|
||||
WriteStreamListener listener = new WriteStreamListener(nodeService, nodeRef, propertyQName, writer);
|
||||
writer.addListener(listener);
|
||||
writer.setRetryingTransactionHelper(transactionHelper);
|
||||
}
|
||||
@@ -524,20 +524,17 @@ public class RoutingContentService implements ContentService
|
||||
private static class WriteStreamListener implements ContentStreamListener
|
||||
{
|
||||
private NodeService nodeService;
|
||||
private AVMService avmService;
|
||||
private NodeRef nodeRef;
|
||||
private QName propertyQName;
|
||||
private ContentWriter writer;
|
||||
|
||||
public WriteStreamListener(
|
||||
NodeService nodeService,
|
||||
AVMService avmService,
|
||||
NodeRef nodeRef,
|
||||
QName propertyQName,
|
||||
ContentWriter writer)
|
||||
{
|
||||
this.nodeService = nodeService;
|
||||
this.avmService = avmService;
|
||||
this.nodeRef = nodeRef;
|
||||
this.propertyQName = propertyQName;
|
||||
this.writer = writer;
|
||||
@@ -553,8 +550,6 @@ public class RoutingContentService implements ContentService
|
||||
if (nodeRef.getStoreRef().getProtocol().equals(StoreRef.PROTOCOL_AVM))
|
||||
{
|
||||
nodeService.setProperty(nodeRef, ContentModel.PROP_CONTENT, contentData);
|
||||
// Pair<Integer, String> versionPath = AVMNodeConverter.ToAVMVersionPath(nodeRef);
|
||||
// avmService.setContentData(versionPath.getSecond(), contentData);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user