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

ISE trying to approve secondary RG type change

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • Edit system
    • None

      Trying to approve https://musicbrainz.org/edit/43460002 gives an ISE:

      Caught exception in MusicBrainz::Server::Controller::Edit->approve "Failed query:
      'INSERT INTO release_group_secondary_type_join (release_group, secondary_type)
      VALUES (?, ?), (?, ?)'
      (246301 1 246301 2)
      23505 DBD::Pg::st execute failed: ERROR: duplicate key value violates unique constraint "release_group_secondary_type_join_pkey"
      DETAIL: Key (release_group, secondary_type)=(246301, 2) already exists. [for Statement "INSERT INTO release_group_secondary_type_join (release_group, secondary_type)
      VALUES (?, ?), (?, ?)" with ParamValues: 1='246301', 2='1', 3='246301', 4='2']
      at lib/Sql.pm line 115.

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

              Created:
              Updated:
              Resolved:

                Version Package