Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-9668

Non-English breaks the instrument list

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2018-04-23
    • Component/s: Documentation
    • Labels:
      None

      Description

      Going to https://musicbrainz.org/instruments with the UI set to a language other than English results in the following error:

      Error: Domain `attributes` was not found.
      at Jed.dcnpgettext (/home/musicbrainz/musicbrainz-server/node_modules/jed/jed.js:158:13)
      at Jed.dpgettext (/home/musicbrainz/musicbrainz-server/node_modules/jed/jed.js:110:17)
      at /home/musicbrainz/musicbrainz-server/root/static/scripts/common/i18n/wrapGettext.js:48:36
      at /home/musicbrainz/musicbrainz-server/root/instrument/List.js:54:18
      at Array.map (native)
      at InstrumentList (/home/musicbrainz/musicbrainz-server/root/instrument/List.js:52:26)
      at resolve (/home/musicbrainz/musicbrainz-server/node_modules/react-dom/cjs/react-dom-server.node.development.js:2102:14)
      at ReactDOMServerRenderer.render (/home/musicbrainz/musicbrainz-server/node_modules/react-dom/cjs/react-dom-server.node.development.js:2260:22)
      at ReactDOMServerRenderer.read (/home/musicbrainz/musicbrainz-server/node_modules/react-dom/cjs/react-dom-server.node.development.js:2234:19)
      at Object.renderToStaticMarkup (/home/musicbrainz/musicbrainz-server/node_modules/react-dom/cjs/react-dom-server.node.development.js:2512:25)
      at getResponse (/home/musicbrainz/musicbrainz-server/root/server/response.js:69:31)
      at Socket.<anonymous> (/home/musicbrainz/musicbrainz-server/root/server/createServer.js:69:31)
      at bound (domain.js:280:14)
      at Socket.runBound (domain.js:293:12)
      at emitOne (events.js:96:13)
      at Socket.emit (events.js:191:7)
      at readableAddChunk (_stream_readable.js:178:18)
      at Socket.Readable.push (_stream_readable.js:136:10)
      at Pipe.onread (net.js:560:20)

      I’m pretty sure it did work earlier today.

        Attachments

          Activity

            People

            • Assignee:
              bitmap Michael Wiencek
              Reporter:
              mfmeulenbelt Maurits Meulenbelt
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: