I am setting up open edX by using release Maple. The code of tutor is using latest version v13.0.1
I can create a course in Studio. However, there was an issue if I click on View live button or access the course in LMS. The URL looks like this: {{LMS_BASE}}/courses/course-v1:orgX+NC_01+2022_NC_01/jump_to/None/course/course-v1:orgX+NC_01+2022_NC_01
Does anyone have the same experience to fix it?
I also researched both forums/issues in Github of edx-platform (overhang and opened) but could not find any solution.
I report here and hope someone can help. In the meanwhile, I am investigating it and reply here if figure out any clue.
You should not enable the legacy experience, as it was untested for the release, and I believe it is not supported anymore. That’s why the tutor-mfe plugin is now enabled by default in all installations. You should install and enable it, if it’s not already done.
Hi, I experience a problem with redirect that should open the courses pages in LMS http://app[URL]/learning/course/[COURSE ID]/home
Have activated MFE plugin. No problem in Studio.
Is there a flag that I should perhaps disable to make {LMS_HOME}/courses/{COURSE ID}/course forward to the frontend MFE? When I link to my course via Richie, it goes to the legacy frontend and intermittently throws a 500 error code. However, if I update the Richie resource to the app frontend, it doesn’t sync enrollments properly.
Sure, I can do that for a Richie specific fix. But still the overall question stands for this thread: is there a waffle flag to redirect legacy course pages to the MFE, similar to the redirect flags for other MFEs? i.e. if people have legacy pages bookmarked or old links still point to it.
Quick note on the question I raised, it looks like the legacy pages were not forwarding to learning frontend MFE pages while logged in as a superuser. However for other users they forward just fine.
Maple’s release notes mention being able to revert to the legacy courseware experience
The courseware.use_legacy_frontend and course_home.course_home_use_legacy_frontend Waffle flags can be toggled on (either globally or per-course-run) in order to revert to the legacy (LMS Django-rendered) courseware experience.
It was my understanding, based on conversations in the build/test/release working group, that the legacy experience was unsupported.
I’m wondering if we should be enabling the legacy experience by default when the MFE is not enabled… I guess we could. For instance, we could add the following to the lms/init script:
{%- if MFE_LEARNING_MFE_APP is not defined or not MFE_LEARNING_MFE_APP%}
(./manage.py lms waffle_flag --list | grep courseware.use_legacy_frontend) || ./manage.py lms waffle_flag --create --everyone courseware.use_legacy_frontend
...
{% endif %}
But it’s going to be difficult to make sure that these flags are correctly set for all users, all the time. In particular, when we enable and then disable the mfe plugin, I’m not sure in what state these flags should be… So let’s just ignore this for now, and we’ll just assume that users will enable the flags themselves if need be.
The error is still there after upgrade to Maple 1.11. But it might be a problem with the Chrome browser that I use. When I use Firefox or the beta version of Chrome, it seems to work OK.