mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Publishing:
- Add latest gdata libs (1.45.0) with source code - cleaned the publishing context files out of the top-level application context - removed the notion of "content root" from publishing channels - added YouTube publishing channel with actions to publish and unpublish - added dummy channel types to ease UI development git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28575 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -171,8 +171,7 @@ public class PublishingEventProcessor
|
||||
ParameterCheck.mandatory("channel", channel);
|
||||
ParameterCheck.mandatory("snapshot", snapshot);
|
||||
|
||||
NodeRef root = channelHelper.getChannelRootNode(channel);
|
||||
NodeRef publishedNode = createPublishedNode(root, snapshot);
|
||||
NodeRef publishedNode = createPublishedNode(channel, snapshot);
|
||||
addAspects(publishedNode, snapshot.getAspects());
|
||||
NodeRef source = snapshot.getNodeRef();
|
||||
channelHelper.createMapping(source, publishedNode);
|
||||
|
Reference in New Issue
Block a user