Closed Bug 1324092 Opened 9 years ago Closed 9 years ago

Jinja2 template for displaying KumaScript macro errors when rendering MDN docs is out-of-date

Categories

(developer.mozilla.org Graveyard :: General, defect)

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rjohnson, Unassigned)

Details

(Keywords: in-triage, Whiteboard: [specification][type:bug])

What did you do? ================ Preview MDN document containing a KumaScript macro error. What happened? ============== Displays error message with incorrect link to the KumaScript macro that raised the error. What should have happened? ========================== Link should point to KumaScript macro file or its directory within the KumaScript repo on GitHub, not to the Template document in Kuma. Is there anything else we should know? ====================================== The file that needs to be modified is: kuma/wiki/jinja2/wiki/includes/kumascript_errors.html
Commit pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/23e08dc0301204a162b39db821ba9d0a1c788f41 bug 1324092: fix links when document has macro errors * fix links when displaying/previewing documents with kumascript macro errors * improve/refactor/fix affected tests
This is in production, and works when the error is a macro error. See bug 1378012 for follow-on issue.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.