[MGNLFORUM-71] Allow paragraphs to create a thread if it doesn't exist Created: 31/Jul/08  Updated: 02/Dec/13  Resolved: 12/Jun/09

Status: Closed
Project: Forum (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: New Feature Priority: Major
Reporter: Magnolia International Assignee: Jan Haderka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File MGNLFORUM-71.txt    
Issue Links:
relation
is related to MGNLFORUM-30 Allow paragraphs to use a fixed threa... Closed
is related to MGNLFORUM-31 Demo usage of the forum module for bl... Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Similar to MGNLFORUM-30, we should have the possibility to automatically create threads if they don't exist. This would in effect give us "discuss this article" and "comments" features.



 Comments   
Comment by Magnolia International [ 27/Aug/08 ]

Got a local p.o.c working. Need to see how it behaves with regards to permissions and on a public instance (typically for a page commenting scenario)

Comment by Jan Haderka [ 04/Feb/09 ]

Can you make patch from that POC and attach it here? Ta.

Comment by Magnolia International [ 05/Feb/09 ]
  • extracted setupThreadIdFromContent() and setupForumIdFromContent() from ThreadList and ThreadView
  • added ThreadViewAutoCreate
Comment by Jan Haderka [ 18/Feb/09 ]

Proposed solution worked fine for page commenting which handles all its needs in one action/model, but it is not enough for general forums where thread viewing in handled by action and message creation is handled solely by ForumController and first message needs to be created together with the forum because of the "firstMessage" reference property. Either we make this property non mandatory so thread can be created without it or we need to rework the flow so the "auto create" threads can be recognized and handled by actions appropriately (i.e. return empty list of messages for the thread that is to be auto-created and doesn't exist yet).

Comment by Jan Haderka [ 12/Jun/09 ]

Forum Module provide methods for paragraphs to use to create new Threads when necessary. The only limitation of the current solution is the fact that Thread has to be created together with the first message.

Comment by Christoph Meier [ 02/Dec/13 ]

closed, since it has resolved a long time ago

Generated at Mon Feb 12 02:00:26 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.