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

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

XMLWordPrintable

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

      This should fail, but in a different way: either with a more clear message or, even better, by just not allowing the user to try to enter this in the first place.

      Original reported ISE:

      Internal server error on https://musicbrainz.org/recording/create
      Referrer: https://musicbrainz.org/recording/create

       

      Internal Server Error

      Oops, something went wrong!

      Error:

       

      Caught exception in MusicBrainz::Server::Controller::Recording->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 572. 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 }}

       

      Time: 2019-07-07 18:00:19 UTC

      Host: b61e77c87379

      Interface language: en

      URL: https://musicbrainz.org/recording/create

      Request data:

      $VAR1 = { 'query_parameters' => {}, 'body_parameters' => { 'edit-recording.rel.0.attributes.0.type.gid' => 'a59c5830-5ec7-38fe-9a21-c7ea54f6650a', 'edit-recording.comment' => 'Fri, 28 Jun 2019', 'edit-recording.length' => '0:29', 'edit-recording.url.7.link_type_id' => '255', 'edit-recording.rel.0.entity1_credit' => '', 'edit-recording.rel.0.target' => '00d0ef08-ffb3-4c12-8f95-32607c757993', 'edit-recording.artist_credit.names.0.artist.id' => '1844161', 'edit-recording.url.7.text' => 'https://feed.pippa.io/public/streams/5d00b2b8429b288573c17f2c/episodes/5d14dd9675669b5f30fccc0f.mp3', 'edit-recording.artist_credit.names.0.join_phrase' => '', 'edit-recording.rel.0.link_type_id' => '740', 'edit-recording.edit_note' => 'https://feed.pippa.io/public/shows/tdf', 'edit-recording.artist_credit.names.0.name' => "Thierry Taz\x

      {e9}

      -Bernard", 'edit-recording.name' => 'Dans l\'oreillette, le podcast sur le Tour de France', 'edit-recording.rel.0.link_order' => '0', 'edit-recording.isrcs.0' => '', 'edit-recording.artist_credit.names.0.artist.name' => "Thierry Taz\x{e9}-Bernard", 'edit-recording.rel.0.entity0_credit' => '', 'edit-recording.rel.0.attributes.0.text_value' => 'teaser' } };

       

      We're terribly sorry for this problem. Please wait a few minutes and repeat your request — the problem may go away.

      If the problem persists, please report a bug and include any error message that is shown above.

      Please be sure to include the stack trace and request data shown above!

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

              Created:
              Updated:
              Resolved:

                Version Package