Closed mbertrand closed 2 years ago
looking at the git history for this file: https://github.mit.edu/ocw-content-rc/8.21-fall-2009/commits/main/content/pages/related-resources.md it looks like it didn't have any content when it was first imported
If this was blank on import, I think it's a ocw-to-hugo issue. I'll move it over there.
For #2, I can think of a couple options, should try it out locally and/or on RC first to see if one works better than the other:
WebsiteContent
object via django shell, then run overwrite_ocw_course_content --create-new --filter 8-21-the-physics-of-energy-fall-2009
import_ocw_course_sites --filter 8-21-the-physics-of-energy-fall-2009
locally, attached to a personal repo, then copy the git content of that page to the same page in the RC/prod repo and run the sync_backend_to_db
command.This was fixed on production with a manual edit. Might be related to #493
Steps to Reproduce
Go to https://ocw.mit.edu/courses/physics/8-21-the-physics-of-energy-fall-2009/related-resources/ (original page) to see the links.
Go to https://ocw-studio-rc.odl.mit.edu/sites/8-21-the-physics-of-energy-fall-2009/type/page/edit/9fad2290-cea3-2555-2365-517c47137406/ to see the edit page.
Go to https://ocwnext-rc.odl.mit.edu/courses/8-21-the-physics-of-energy-fall-2009/pages/related-resources/ to see the published page.
Expected Behavior
The edit page and published page should have content to duplicate that of the original page.
Actual Behavior
The edit page and published page are blank.