mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Publishing:
- SlideShare channel now tested (the service seems pretty flaky, but the publishing works fine). - A couple of tweaks to ensure that credentials are being stored correctly for each channel. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28966 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -109,7 +109,9 @@ public class ChannelHelper
|
||||
{
|
||||
ChannelType channelType = channel.getChannelType();
|
||||
String channelName = channel.getName();
|
||||
return createChannelNode(environment, channelType, channelName, properties);
|
||||
NodeRef envChannel = createChannelNode(environment, channelType, channelName, properties);
|
||||
nodeService.createAssociation(envChannel, channel.getNodeRef(), PublishingModel.ASSOC_EDITORIAL_CHANNEL);
|
||||
return envChannel;
|
||||
}
|
||||
|
||||
public Channel getChannel(NodeRef environment, String channelName, ChannelService channelService)
|
||||
|
Reference in New Issue
Block a user