Details
Description
When forums are backed up and restored in a new course the posting date information is lost.
All posts are reset to have been posted on Wed, 31 Dec 1969, 07:00 PM (presumably the date field is empty or set to 0).
Issue Links
| This issue will help resolve: | ||||
| MDL-9829 | backup/restore of front page does not restore most blocks and resources |
|
|
|
In this case i was moving forums from the front page (course id =1) to another course. This may be a special case which does not occur
when moving forums from one regular course to another.
The issue goes away if I comment out the lines such as:
$post->modified += $restore->course_startdateoffset; in forums/restorelib.php
leading me to believe that $restore->course_startdateoffset hasn't been set properly and that
there is no check to insure that it is correctly defined.