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

/instruments page breaks if a new instrument type is added but not used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2018-05-09
    • None
    • Data display
    • None

      TypeError: Cannot read property 'map' of undefined
          at /home/musicbrainz/musicbrainz-server/root/instrument/List.js:56:16
          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 /home/musicbrainz/musicbrainz-server/root/server/createServer.js:69:31
          at bound (domain.js:280:14)
          at runBound (domain.js:293:12)
          at Socket.<anonymous> (/home/musicbrainz/musicbrainz-server/root/server/createServer.js:73:9)
          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)

            bitmap Michael Wiencek
            bitmap Michael Wiencek
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2018-05-09