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

Unable to directly edit a relationship between two works

XMLWordPrintable

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

      Internal server error on https://musicbrainz.org/work/9d1ba066-627f-3fbb-b88d-f55da5cba723/edit
      Referrer: https://musicbrainz.org/work/9d1ba066-627f-3fbb-b88d-f55da5cba723/edit

      how it happened:
      1. found Edit #67313508 which assigned a link order # (32) to a "part of" relationship between 2 works;
      2. no apparent way to directly remove the link order # in a 1-to-1 relationship, so tried a workaround via Edit #91692050 (which didn't work as hoped); so then tried to revert the edit, but couldn't do so, as internal server error message keeps popping up each time;
      3. have now submitted Edit #91716199 to remove the relationship altogether, to then re-add a "work is part of work" relationship later, to purge the link order #.

      Internal Server Error

      Oops, something went wrong!

      Error:

      The edit could not be created. Exception (string): Relationship link type mismatch at lib/MusicBrainz/Server/Edit/Relationship/Reorder.pm line 196.

      at lib/Sql.pm line 335.
      at lib/Sql.pm line 335. at lib/MusicBrainz/Server/Model/MB.pm line 19
      MusicBrainz::Server::Model::MB::with_transaction(?, ?) called at lib/MusicBrainz/Server/Controller.pm line 186
      MusicBrainz::Server::Controller::edit_action(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) called at lib/MusicBrainz/Server/Controller/Role/EditRelationships.pm line 351
      MusicBrainz::Server::Controller::Work::edit_action(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) called at lib/MusicBrainz/Server/Controller/Role/Edit.pm line 69
      Catalyst::dispatch called at lib/MusicBrainz/Server.pm line 388
      MusicBrainz::Server::_ANON_ at lib/MusicBrainz/Server.pm line 353
      MusicBrainz::Server::with_translations(?, ?) called at lib/MusicBrainz/Server.pm line 389
      Class::MOP::Method::Wrapped::_ANON_ called at lib/MusicBrainz/Server.pm line 403
      Class::MOP::Method::Wrapped::_ANON_ called at lib/MusicBrainz/Server.pm line 494

      Time: 2022-08-04T17:19:09.166Z

      Host: 5d656fa25da1

      Interface language: en

      URL: https://musicbrainz.org/work/9d1ba066-627f-3fbb-b88d-f55da5cba723/edit

      Request data:

      {
      "body_parameters":

      { "edit-work.rel.1.link_order": "0", "edit-work.rel.2.relationship_id": "518377", "edit-work.rel.2.link_type_id": "169", "edit-work.edit_note": "", "edit-work.attributes.0.type_id": "", "edit-work.comment": "", "edit-work.languages.0": "145", "edit-work.rel.0.link_type_id": "168", "edit-work.rel.0.target": "eefd7c1e-abcf-4ccc-ba60-0fd435c9061f", "edit-work.rel.0.backward": "1", "edit-work.name": "Tristan und Isolde, WWV 90: Akt III, Szene III. \"Kurwenal! Hör'! Ein zweites Schiff\"", "edit-work.rel.3.target": "ad177d02-7eb2-4923-beab-bec57819064e", "edit-work.rel.3.relationship_id": "25674", "edit-work.rel.2.target": "eefd7c1e-abcf-4ccc-ba60-0fd435c9061f", "edit-work.rel.3.link_type_id": "281", "edit-work.rel.0.relationship_id": "289300", "edit-work.rel.1.link_type_id": "281", "edit-work.rel.2.backward": "1", "edit-work.rel.3.backward": "1", "edit-work.iswcs.0": "", "edit-work.rel.1.target": "eb691aba-ba0f-3db6-97bb-df50e64f2b9c", "edit-work.attributes.0.value": "", "edit-work.type_id": " ", "edit-work.rel.1.relationship_id": "295658" }

      ,
      "query_parameters": {}
      }

            Unassigned Unassigned
            fmera fmera
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package