I’ve encountered this problem last time I upgraded from ironwood to juniper.
The current behaviour used by edx.org as you stated, was the same behaviour in open edx ironwood release.
I don’t know why the redirect to register/login behaviour was replaced by a simple error message.
All I did last time to solve the issue was to edit /lms/templates/courseware/course_about.html at the line after :
else if (xhr.status == 403) {
and add back a redirect to register page :
location.href = "${reverse('register_user') | n, js_escaped_string }?course_id=${course.id | n, js_escaped_string }&enrollment_action=enroll";
It makes sense to have it the way it was - an unregistered/anonymous or not signed in user gets redirected to register/sign in after clicking the “Enroll Now” button.
Hi there, any updates on this bug? Would be nice if Open edX could revert the change so that users whom are not logged in are redirected to a login or sign-up page.
is there anyway to achieve the old behavior, i.e., keep the “next” parameter for the desired course, so that he is redirected to the course (rather than the dashboard) after registration?