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

Reports break if an entity in them has been removed / merged

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2019-06-03
    • None
    • Reports
    • None

      I get this error on https://musicbrainz.org/report/DuplicateArtists?page=5

      TypeError: Cannot read property 'gid' of null
          at /home/musicbrainz/musicbrainz-server/root/static/build/server-components.js:1:391348
          at Array.map (<anonymous>)
          at /home/musicbrainz/musicbrainz-server/root/static/build/server-components.js:1:391256
          at processChild (/home/musicbrainz/musicbrainz-server/node_modules/react-dom/cjs/react-dom-server.node.development.js:2871:14)
          at resolve (/home/musicbrainz/musicbrainz-server/node_modules/react-dom/cjs/react-dom-server.node.development.js:2795:5)
          at ReactDOMServerRenderer.render (/home/musicbrainz/musicbrainz-server/node_modules/react-dom/cjs/react-dom-server.node.development.js:3175:22)
          at ReactDOMServerRenderer.read (/home/musicbrainz/musicbrainz-server/node_modules/react-dom/cjs/react-dom-server.node.development.js:3134:29)
          at Object.renderToString (/home/musicbrainz/musicbrainz-server/node_modules/react-dom/cjs/react-dom-server.node.development.js:3619:27)
          at getResponse (/home/musicbrainz/musicbrainz-server/root/server/response.js:98:31)
          at Socket.<anonymous> (/home/musicbrainz/musicbrainz-server/root/server/createServer.js:79:31)
          at bound (domain.js:396:14)
          at Socket.runBound (domain.js:409:12)
          at Socket.emit (events.js:182:13)
          at Socket.EventEmitter.emit (domain.js:442:20)
          at addChunk (_stream_readable.js:283:12)
          at readableAddChunk (_stream_readable.js:264:11)
          at Socket.Readable.push (_stream_readable.js:219:10)
          at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
      

      The error doesn't pop up on any of the other random pages I tested, as well as the previous and next page.

            reosarevok Nicolás Tamargo
            cyberskull Trevor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2019-06-03