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:
Nick Burch
2011-08-15 17:54:30 +00:00
parent 4f59c0b4eb
commit 1259950719

View File

@@ -313,6 +313,10 @@ public class DiscussionServiceImpl implements DiscussionService
Map<QName, Serializable> props = new HashMap<QName, Serializable>(); Map<QName, Serializable> props = new HashMap<QName, Serializable>();
props.put(ContentModel.PROP_NAME, name); 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 // Do we want a title? By default, primary posts share a title
// with the topic, but replies are title-free // with the topic, but replies are title-free
if(isPrimary) if(isPrimary)