Bug #971
Comments and trackbacks not imported from mt.
| Status : | Assigned | Start : | ||
| Priority : | Normal | Due date : | ||
| Assigned to : | scott - | % Done : | 0% |
|
| Category : | admin | |||
| Target version : | - | |||
| Resolution : |
Description
Comments and trackbacks weren't being loaded using the stable version of rails. Probably due to updates in rails land.
To get this working I changed 2 lines of code, and added another save.
old a.comments.create(c)
new: a.comments<<Comment.create(c)
old a.trackbacks.create(tb)
new: a.trackbacks<<Trackback.create(tb)
Then there was a save needed at the end of the loop. (the earlier save could be moved).
a.save
Associated revisions
Fix sidebar defaults. Closes #971