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

n.mb.org: creating recording gives ISE

XMLWordPrintable

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

      I tried first doing something silly and got

      Internal Server Error

      Oops, something went wrong!

      Error:

      Couldn't render template "undef error - encountered object 'MusicBrainz::Server::Form::Field::ISRC::10=HASH(0x1e7886d0)', but neither allow_blessed, convert_blessed nor allow_tags settings are enabled (or TO_JSON/FREEZE method missing) at lib/MusicBrainz/Server/Form.pm line 205.
      "

      Stack trace:

      line 19 MusicBrainz::Server::View::Default
      line 341 MusicBrainz::Server
      line 315 MusicBrainz::Server
      line 342 MusicBrainz::Server
      line 356 MusicBrainz::Server
      line 388 MusicBrainz::Server

      Time: 2016-11-06 17:45:51 UTC

      Host: 0b64a5fcad31

      Interface language: en

      URL: https://n.musicbrainz.org/recording/create?artist=72259851-ae93-4d3d-9f72-31baa2690bb1

      Request data:

      $VAR1 = {
      'query_parameters' =>

      { 'artist' => '72259851-ae93-4d3d-9f72-31baa2690bb1' },
      'body_parameters' => { 'edit-recording.isrcs.0' => 'nova scotia', 'edit-recording.comment' => 'Disgustimbiguation', 'edit-recording.edit_note' => 'blah blah blah their new alsbum blah', 'edit-recording.name' => 'blup!', 'edit-recording.length' => '' }
      };


      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!



      but any kind of data entered in the "add recording" on an artist will fail:


      Internal Server Error

      Oops, something went wrong!

      Error:

      Caught exception in MusicBrainz::Server::Controller::Recording->create "The edit could not be created. Exception (string): Modification of non-creatable array value attempted, subscript -1 at lib/MusicBrainz/Server/Data/ArtistCredit.pm line 99.
      at lib/MusicBrainz/Server/Controller.pm line 103.
      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-06 17:51:27 UTC

      Host: 0b64a5fcad31

      Interface language: en

      URL: https://n.musicbrainz.org/recording/create?artist=72259851-ae93-4d3d-9f72-31baa2690bb1

      Request data:

      $VAR1 = {
      'body_parameters' => { 'edit-recording.comment' => 'blahgrafrgargaff', 'edit-recording.edit_note' => 'blahgrafrgargaff', 'edit-recording.name' => 'blup!', 'edit-recording.length' => '', 'edit-recording.isrcs.0' => '' },
      'query_parameters' => { 'artist' => '72259851-ae93-4d3d-9f72-31baa2690bb1' }

      };

      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
            zaphodbeeblebrox ApeKattQuest, MonkeyPython
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package