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

Internal server error when adding to a series of the wrong type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Editing interface
    • None

      Internal server error on https://n.musicbrainz.org/event/create?edit-event.name=blup
      Referrer: https://n.musicbrainz.org/event/create?edit-event.name=blup

      however it does say "Thank you, your 3 edits (#41330189, #41330190, #41330191) have been automatically accepted and applied. "
      the search for that gives no results: https://n.musicbrainz.org/search/edits?conditions.0.args.0=41330189&conditions.0.operator=BETWEEN&conditions.0.field=id&conditions.0.args.1=41330191
      ISE:

      Oops, something went wrong!

      Error:

      Caught exception in MusicBrainz::Server::Controller::Event->create "The edit could not be created. Exception (string): Incorrect entity type for part of series relationship at lib/MusicBrainz/Server/Data/Relationship.pm line 565.
      at lib/MusicBrainz/Server/Controller.pm line 103.
      at lib/Sql.pm line 334.
      at lib/Sql.pm line 334."

      Stack trace:

      line 19 MusicBrainz::Server::Model::MB
      line 202 MusicBrainz::Server::Controller
      line 132 MusicBrainz::Server::Controller::Role::EditRelationships
      line 82 MusicBrainz::Server::Controller::Role::Create
      line 341 MusicBrainz::Server
      line 315 MusicBrainz::Server
      line 342 MusicBrainz::Server
      line 356 MusicBrainz::Server
      line 388 MusicBrainz::Server

      Time: 2016-11-07 19:40:16 UTC

      Host: c5bd4ab352f6

      Interface language: en

      URL: https://n.musicbrainz.org/event/create?edit-event.name=blup

      Request data:

      $VAR1 = {
      'body_parameters' =>

      { 'edit-event.period.end_date.day' => '', 'edit-event.rel.0.backward' => '1', 'edit-event.time' => '23:12', 'edit-event.rel.2.link_order' => '0', 'edit-event.period.begin_date.year' => '2999', 'edit-event.comment' => '', 'edit-event.cancelled' => '1', 'edit-event.rel.1.target' => '1330b484-84c3-4682-a946-92568e76996e', 'edit-event.setlist' => '* [0cdf16d3-3428-4007-a92b-5b7b98335b7b|Hail Blupania!] @ [f3d25f87-99d2-42a4-bc51-fd928144b221|LAZY BUMS Inc.', 'edit-event.rel.2.link_type_id' => '802', 'edit-event.rel.2.target' => '4e7a60c1-0b26-4306-b853-57185981b223', 'edit-event.rel.1.backward' => '1', 'edit-event.period.begin_date.month' => '', 'edit-event.edit_note' => '', 'edit-event.rel.1.entity0_credit' => '', 'edit-event.period.end_date.month' => '', 'edit-event.rel.2.entity0_credit' => '', 'edit-event.name' => 'blup', 'edit-event.rel.2.entity1_credit' => '', 'edit-event.rel.0.target' => '38f17a6f-ee34-48d9-b284-d53d98164d60', 'edit-event.rel.0.entity1_credit' => '', 'edit-event.type_id' => '5', 'edit-event.period.begin_date.day' => '', 'edit-event.rel.1.entity1_credit' => '', 'edit-event.rel.0.link_type_id' => '793', 'edit-event.rel.1.link_type_id' => '793', 'edit-event.rel.0.entity0_credit' => '', 'edit-event.period.end_date.year' => '3000' }

      ,
      'query_parameters' =>

      { 'edit-event.name' => 'blup' }

      };

            Unassigned Unassigned
            ApekattQuest, MonkeyPython MonkeyPython
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package