mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-9153 Convert the forum-post-replies.post discussions webscript to be lucene free and Java backed
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29780 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -313,6 +313,10 @@ public class DiscussionServiceImpl implements DiscussionService
|
||||
Map<QName, Serializable> props = new HashMap<QName, Serializable>();
|
||||
props.put(ContentModel.PROP_NAME, name);
|
||||
|
||||
// TODO Remove this shortly, when the webscripts have been
|
||||
// fixed up to avoid their current broken-ness
|
||||
props.put(ContentModel.PROP_PUBLISHED, new Date());
|
||||
|
||||
// Do we want a title? By default, primary posts share a title
|
||||
// with the topic, but replies are title-free
|
||||
if(isPrimary)
|
||||
|
Reference in New Issue
Block a user