Page MenuHomePhabricator

TypeError: itemsById[id]
Closed, DuplicatePublicBUG REPORT


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

For a few days now, previewing edits on Commons in source mode or even viewing standard pages like user pages or user talk pages at Commons will yield the following type error:

What happens?:
An error message pops up containing something like

TypeError: itemsById[id] is undefined
at ThreadItemSet.js/ThreadItemSet.static.newFromAnnotatedNodes/item.replies<
at ThreadItemSet.js/ThreadItemSet.static.newFromAnnotatedNodes
at init
at reallyInit
at dt.init.js/mw.dt.init
at add line 10 > injectedScript:823:583
at dt.init.js
at runScript
at execute/cssHandle/<
at flushCssBuffer

Other information (browser name/version, screenshots, etc.):
The preview error does happen while using the Monobook skin although the simple page view is not affected with Monobook.

Event Timeline

Tgr added a subscriber: Tgr.

I don't see any connection to StructuredDiscussions. It's happening on a village pump and ThreadItemSet is a DiscussionTools class.

This was the same issue as T314707, now resolved.