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

Server error changing "arrangement of" to "medley of" between works

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • None
    • Back-end
    • None

      Internal server error on https://musicbrainz.org/work/1247f7a7-0f89-4736-b7d3-334e7a82083b/edit
      Referrer: https://musicbrainz.org/work/1247f7a7-0f89-4736-b7d3-334e7a82083b/edit

       

      I have a work [1] which had "arrangement of" relationship to two other works ([2] and [3]). I tried changing the relationship to "medley of" to be able to set an order and got two message boxes saying:

       
      The data you have submitted does not make any changes to the data already present.
      Thank you, your 2 edits (#61453247, #61453248) have been automatically accepted and applied.
       
      And then some debug information:

      Internal Server Error

      Oops, something went wrong!

      Error:

       
      Caught exception in MusicBrainz::Server::Controller::Work->edit "The edit could not be created. Exception (string): Relationship link type mismatch at lib/MusicBrainz/Server/Edit/Relationship/Reorder.pm line 181. at lib/MusicBrainz/Server/Controller.pm line 106. at lib/Sql.pm line 334. at lib/Sql.pm line 334."
       

       

      Stack trace:

      • line
      • line
      • line
      • line
      • line
      • line

       

      Time: 2019-05-21 15:06:18 UTC

      Host: 3d0e0a1a2644

      Interface language: en

      URL: https://musicbrainz.org/work/1247f7a7-0f89-4736-b7d3-334e7a82083b/edit

      Request data:
      $VAR1 = { 'query_parameters' => {}, 'body_parameters' => { 'edit-work.rel.2.relationship_id' => '2122696', 'edit-work.languages.0' => '486', 'edit-work.rel.1.link_type_id' => '239', 'edit-work.attributes.0.type_id' => '', 'edit-work.type_id' => '17', 'edit-work.iswcs.0' => '', 'edit-work.rel.0.target' => '94cd18bf-d7ef-3ce8-be92-ea5e70d455ef', 'edit-work.rel.2.backward' => '1', 'edit-work.rel.0.link_order' => '2', 'edit-work.attributes.0.value' => '', 'edit-work.rel.1.target' => '65473dda-bff0-38f6-bbad-43b622f8380c', 'edit-work.rel.0.relationship_id' => '271520', 'edit-work.edit_note' => '', 'edit-work.comment' => '', 'edit-work.rel.2.link_type_id' => '293', 'edit-work.rel.1.link_order' => '0', 'edit-work.rel.2.target' => '6416a02b-eda2-4c43-bca8-396ee30b5c74', 'edit-work.name' => 'Rain Eight Days a Week', 'edit-work.rel.0.link_type_id' => '239', 'edit-work.rel.1.relationship_id' => '271519' } };
       
      And the change was not done in the database.

            Unassigned Unassigned
            antlarr Antonio Larrosa Jiménez
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package