Page MenuHomePhabricator

JS error when choosing a badge-item that is a deleted item
Closed, ResolvedPublic

Description

If an item that is defined as a badge-item gets deleted it still shows up in the badge-selector widget. If a user then selects this item as badge-item he'll get a JS error:
Uncaught TypeError: Cannot read property 'getContent' of undefined in jquery.wikibase.badgeselector.js:371