Issue Details (XML | Word | Printable)

Key: MDL-11818
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Yu Zhang
Reporter: Peter Ruthven-Stuart
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Updating a Single Simple Discussion Forum causes the first edited posting to be deleted

Created: 18/Oct/07 10:53 AM   Updated: 14/Oct/09 05:02 AM
Return to search
Component/s: Forum
Affects Version/s: 1.8.3
Fix Version/s: 1.8.4, 1.9, 2.0

File Attachments: 1. File Forum_SingleSimpleDiscussion_bug.mp4 (1.74 MB)
2. Text File post.php.patch (1 kB)
3. File post.php183 (1 kB)

Environment: On moodle 1.8.3 and replicated in http://demo.moodle.org/

Participants: Peter Ruthven-Stuart, Petr Kalis and Yu Zhang
Security Level: None
Resolved date: 28/Nov/07
Affected Branches: MOODLE_18_STABLE
Fixed Branches: MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE


 Description  « Hide
Updating a Single Simple Discussion Forum causes the first edited posting to be deleted

I have attached an mp4 movie (1.7MB, no sound) of this 'bug' in action. Please let me know if you want to see the movie in a different format,

When creating a Single Simple Discussion Forum, the teacher first has to write in some text in the 'Forum introduction' text box. Note that this text appears both on the Forums index page (http://demo.moodle.org/mod/forum/index.php?id=2), and as the first posting of the new forum. Ideally the text describing this new forum on the index page should just be a few words. However, the text in the first posting will probably be longer, perhaps containing a detailed explanation of the task.

So, to add an explanation of the task, a teacher will click on the 'edit' link at the bottom of the first posting and type an explanation. So far so good. after saving, the original brief explanation of the new Forum added in the 'Forum introduction' remains unchanged, and the longer explanation appears as expected.

However, on clicking on the [Update this Forum] button, and making any necessary changes (or no changes) and then clicking on the [Save changes] button. The longer explanation in the first posting disappears, and reverts back to the original text typed in the 'Forum introduction' text box.

The only 'solution' at the moment to this bug is to be aware of it, and save a copy of the first posting on ones hard disk in case the forum needs to be updated.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Kalis made changes - 27/Nov/07 06:42 PM
Field Original Value New Value
Attachment post.php.patch [ 12499 ]
Attachment post.php183 [ 12500 ]
Yu Zhang made changes - 28/Nov/07 09:08 AM
Assignee Martin Dougiamas [ dougiamas ] Yu Zhang [ lazyfish ]
Yu Zhang made changes - 28/Nov/07 01:10 PM
Fix Version/s 1.9 [ 10190 ]
Fix Version/s 2.0 [ 10122 ]
Fix Version/s 1.8.4 [ 10242 ]
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Petr Skoda made changes - 14/Oct/09 05:02 AM
Link This issue has been marked as being related by MDL-20555 [ MDL-20555 ]