mitodl / ocw-studio

Open Source Courseware authoring tool
BSD 3-Clause "New" or "Revised" License
9 stars 3 forks source link

Data migration: root relative links are broken #1042

Closed pdpinch closed 2 years ago

pdpinch commented 2 years ago

This is similar to #1041 and perhaps could be corrected the same time.

Steps to Reproduce

Most of the "slides" links in RES.6-012 are broken. I think they were hardcoded in Plone to root-relative URLs. Can we migrate them to resource links?

legacy: https://ocwnext.odl.mit.edu/courses/res-6-012-introduction-to-probability-spring-2018/pages/part-i-the-fundamentals/ markdown: https://github.mit.edu/mitocwcontent/res.6-012-spring-2018/blame/main/content/pages/part-i-the-fundamentals.md#L71-L73 nextgen: https://ocwnext.odl.mit.edu/courses/res-6-012-introduction-to-probability-spring-2018/pages/part-i-the-fundamentals/

pdpinch commented 2 years ago

some more examples:

  1. https://ocwnext.odl.mit.edu/courses/res-18-006-calculus-revisited-single-variable-calculus-fall-2010/pages/study-materials/
  2. https://ocwnext.odl.mit.edu/courses/res-18-008-calculus-revisited-complex-variables-differential-equations-and-linear-algebra-fall-2011/pages/study-materials/
  3. markdown: https://github.mit.edu/mitocwcontent/res.6-007-spring-2011/blame/main/content/pages/introduction.md#L44
  4. https://ocwnext.odl.mit.edu/courses/2-627-fundamentals-of-photovoltaics-fall-2013/video_galleries/assignments/
pdpinch commented 2 years ago

@ChristopherChudzicki do you think this can be closed now?

ChristopherChudzicki commented 2 years ago

Closing this in favor of #1233