Closed Bug 1271261 Opened 8 years ago Closed 8 years ago

Kuma Script Error on Firefox OS documentation status page

Categories

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

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla, Unassigned)

Details

(Whiteboard: [specification][type:bug])

What did you do?
================
See:
https://developer.mozilla.org/ja/docs/MDN/Doc_status/Firefox_OS
https://developer.mozilla.org/fr/docs/MDN/Doc_status/Firefox_OS



What happened?
==============
Kuma Script Error shown:

Problem executing template LocalizationStatusInSection:
    1 | <div>
    2 |  {{DocStatusQuickLinks()}} {{LocalizationStatusInSection("/en-US/Firefox_OS", "ja")}}</div>
-----------------------------------^

TypeError: ejs:1
 >> 1| <%
    2| // Generates a table of the localization status for a given section
    3| //
    4| // Parameters:

Cannot call method 'replace' of undefined
    at collect (eval at <anonymous> (/data/www/developer.mozilla.org/kuma/kumascript/node_modules/ejs/lib/ejs.js:199:12), <anonymous>:346:36)
    at getPages (eval at <anonymous> (/data/www/developer.mozilla.org/kuma/kumascript/node_modules/ejs/lib/ejs.js:199:12), <anonymous>:382:21)
    at eval (eval at <anonymous> (/data/www/developer.mozilla.org/kuma/kumascript/node_modules/ejs/lib/ejs.js:199:12), <anonymous>:494:10)
    at /data/www/developer.mozilla.org/kuma/kumascript/node_modules/ejs/lib/ejs.js:201:15
    at /data/www/developer.mozilla.org/kuma/kumascript/lib/kumascript/templates.js:74:30

What should have happened?
==========================
Show doc status table without error.

Is there anything else we should know?
======================================
Thanks for reporting this.

The Firefox OS content has been moved into archive and a new B2G content area has been created.
See https://developer.mozilla.org/en-US/docs/Mozilla/B2G_OS

I have moved and updated all documentation status pages to be B2G status pages and no longer Firefox OS ones.

https://developer.mozilla.org/en-US/docs/MDN/Doc_status/B2G_OS
https://developer.mozilla.org/ja/docs/MDN/Doc_status/B2G_OS
https://developer.mozilla.org/fr/docs/MDN/Doc_status/B2G_OS
etc.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
I see. Currently en-US page only redirect from:
https://developer.mozilla.org/en-US/docs/MDN/Doc_status/Firefox_OS
to:
https://developer.mozilla.org/en-US/docs/MDN/Doc_status/B2G_OS

Can you set same redirection for all other locales?
# Or we need to update all pages like
# https://developer.mozilla.org/en-US/docs/MDN/Doc_status
# https://developer.mozilla.org/ja/docs/MDN/Doc_status
# in which we have link to Firefox OS page.
I did set a redirect for all locales that have a doc status page already. Which one doesn't work?
Flags: needinfo?(bugzilla)
Thanks, now redirect works well for non en-US locales too.

When I write previous comment, redirect for non en-US locales are not active but now it's active. I think it was because of delay of deployment.

Anyway, this is solved. Thank you!
Flags: needinfo?(bugzilla)
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.