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

uncaught exception: entity not in the entities array

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2020-06-15
    • Component/s: Relationship editor
    • Labels:
      None

      Description

      This often happens to me.
      And it has been bugging me for years.
      I have this issue in Vivaldi and in Firefox.

      When I use a small relationship editor popup (pencil icon) in which I want to replace an entity by another.
      I paste the new entity URL and it finds it (green).
      Now I press ENTER and I get a JavaScript error:

      > uncaught exception: entity not in the entities array

      From helpers.js:88

      As the popup is still there, I press ENTER again to confirm/close it (another bug in Firefox is that popups reopen, but it is because of some user script).

      It closes, the relationship got span.rel-edit (equivalent of span.mp) to show it's modified but the content is still the old entity.

      If I submit the form, the edit is correct, so it is "only" a display issue.

      For example you can reproduce by editing any Lyrics URL and selecting any other work in the pencil popup. https://musicbrainz.org/url/087962c6-6836-471b-a07a-33f4ab9f7a15

        Attachments

          Activity

            People

            • Assignee:
              bitmap Michael Wiencek
              Reporter:
              jesus2099 jesus2099
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2020-06-15