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

insert or update on table "cover_art" violates foreign key constraint "cover_art_fk_edit"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2012-09-17
    • Fix Version/s: 2014-03-03
    • Component/s: Admin
    • Labels:
      None

      Description

      I tried importing everything but edit from the 20120922 dump and the import failed because of some cover art fk issues. I dumped and reimported everything including edit and it worked fine.

      Error message: insert or update on table "cover_art" violates foreign key constraint "cover_art_fk_edit".
      Log: http://pastebin.com/S0iD8k8j
      Nikki dug out the relevant code: https://github.com/metabrainz/musicbrainz-server/blob/master/admin/sql/caa/CreateFKConstraints.sql

        Attachments

          Activity

            People

            • Assignee:
              ianmcorvidae Ian McEwen
              Reporter:
              navap Pavan Chander
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2014-03-03