Error page "Back to Studio" has no href when authoring is not a frontend-base app (regression from #210)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- react, typescript
- Domain
- frontend
Research direction
The dead link comes from destination in src/authz-module/components/ErrorPage/index.tsx, which now uses getUrlByRouteRole('org.openedx.frontend.role.courseAuthoring') and gets undefined when authoring is not a frontend-base app. Compare with the pre-#210 version that used getConfig().COURSE_AUTHORING_MICROFRONTEND_URL, then choose between a config fallback and hiding the button when no URL exists. Done when the 404 page shows a working Back to Studio link on a non-frontend-base install, with no anchor lacking href.
Written by the indexing model from the issue text.
Description
The error page's only action, "Back to Studio", does nothing on an install where the authoring MFE isn't part of the frontend-base site. Tutor main is one: authoring still runs as a separate legacy MFE. The button renders as an anchor with no href:
<a class="pgn__hyperlink default-link standalone-link m-2 btn btn-primary" target="_self">Back to Studio</a>
Clicking it leaves the route unchanged, so the reader has to edit the URL to get out of the 404.
Cause: the frontend-base migration (#210, merged via #227 on 2026-09-19) changed src/authz-module/components/ErrorPage/index.tsx from
destination={`${getConfig().COURSE_AUTHORING_MICROFRONTEND_URL}`}
to
destination={getUrlByRouteRole('org.openedx.frontend.role.courseAuthoring') ?? undefined}
getUrlByRouteRole only finds apps registered in the site with that role. When authoring isn't one of them, it returns nothing and the link has no destination. release/verawood renders the same view with a working link.
Expected: fall back to a configured Studio/authoring URL when no app provides the role, or hide the button rather than render a dead one.
Environment: Tutor main (overhangio/openedx-mfe:22.1.0-main), openedx-authz 1.23.0, 2026-09-22; code as on master 2026-10-12. Works on verawood. Found by the Open edX end-to-end test suite (BTR TC-00442).
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 13
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 10
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openedx/frontend-app-admin-console
-
Difficulty 3/5 Half a day Newbie friendliness 75/100
openedx/frontend-app-admin-console#259 ·
Maintainers usually reply within 1 day
-
User audit view: course-scope delete control can stay "course authoring disabled" incorrectlyPossibly taken @dcoa claimed this 7 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 55/100
openedx/frontend-app-admin-console#258 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
openedx/frontend-app-admin-console#257 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 15/100
openedx/frontend-app-admin-console#256 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
openedx/frontend-app-admin-console#247 · 6 comments · 2 reactions ·
Maintainers usually reply within 1 day
All issues in openedx/frontend-app-admin-console
Similar issues
-
Add: Pbs KidsOpencheck:passed streams:add
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 2 days
-
maintanance
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
inmanta/web-console#7583 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
deltachat/deltachat-desktop#6881 · 1 comment ·
Maintainers usually reply within 3 days
-
[Bug Report][3.13.7] VDataTable with select-strategy="single" shows select-all checkbox in mobile modePossibly taken @lazerg claimed this today. OpenS: triage
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
phivk/rubiks-lab#33 ·
Maintainers usually reply within 1 day