Problem creating "single discussion" forums with files in intro

Description

Was testing restore of single-discussion forums when detected this happening:

1) create one single-discussion forum.
2) navigate to it. The information from the forum (intro...) is reused as (single) discussion/post.

BUT, files in discussion, are pointing to user draftarea (aren't copied from mod_forum/intro to mod_forum/post). So they are lost.

Ciao

PS: Exactly same happens if you re-edit the forum... when their contents are copied again to single discussion/post, files aren't copied.

Testing Instructions

None

Automated test results

None

Pre-check results

None

Workaround

None

Activity

Petr Skoda
1 August 2010 at 17:43

fixed by ugly hack,
thanks for the report!

Eloy Lafuente (stronk7)
31 July 2010 at 01:34

Just for reference, this is the block of code I've put on forum restore, when recreating that single discussion/initial post in order to copy all the files from intro to post. Seems to be working:

Eloy Lafuente (stronk7)
31 July 2010 at 00:28

seems that forum_insert/update_instance() are the ones creating the single discussion (and forgetting about files).

Ciao

Fixed

Details

Priority

Affects versions

Components

Assignee

Reporter

Fix versions

Tester

Participants

Eloy Lafuente (stronk7)
Petr Skoda

Difficulty

Clockify

Created 31 July 2010 at 00:26
Updated 12 December 2012 at 08:31
Resolved 1 August 2010 at 17:43