|
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)
|
|
Can you make patch from that POC and attach it here? Ta.
|
- extracted setupThreadIdFromContent() and setupForumIdFromContent() from ThreadList and ThreadView
- added ThreadViewAutoCreate
|
|
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).
|
|
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.
|
|
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.