Page MenuHomePhabricator

Internal server error on embeddable course stats URLs
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

  • The website returns a 500 internal server error
    • Curiously, when testing random courses before reporting this bug, I found a few that were actually working. I tested around 20 courses, and the vast majority got a server error, but a couple were working, amongst them this one.
  • This makes the embeddable pages not load at all when they are embedded, see an example at https://www.wikimedia.no/2023/05/04/wiki-loves-living-heritage/

What should have happened instead?:
There should be no internal server error.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Thanks for reporting this @jhsoby! I'm sorry I couldn't get to it sooner; I was on vacation last week.

This is a bug that snuck through with some recent changes to how the embed feature works. It only affects non-English courses (and apparently our tests don't cover embeds for a non-English course). I have a fix that I'll deploy shortly.

Ragesoss claimed this task.

Fixed!