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

Guess release feat errors on blank release editor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2022-04-18
    • None
    • Release editor
    • None

      When a new release editor is opened from https://musicbrainz.org/release/add the value of the name observable is undefined. The guess feat code seems to expect the name to always be defined, and eventually an undefined.length is called which errors.

      Sentry Issue: MUSICBRAINZ-SERVER-R6

      TypeError: Cannot read properties of undefined (reading 'length')
        at e (/MB/common-chunks-714af7a.js:2:859072)
        at None (/MB/common-chunks-714af7a.js:2:736659)
        at Array.reduce (<anonymous>)
        at None (/MB/common-chunks-714af7a.js:2:736566)
        at x (/MB/common-chunks-714af7a.js:2:736993)
      ...
      (6 additional frame(s) were not displayed)
      

            reosarevok Nicolás Tamargo
            dev-sentry Dev through Sentry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2022-04-18