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

Exception in ReleaseEditor when trying to add a new release to an existing artist

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: User interface
    • Labels:
      None

      Description

      I received the following error when trying to add a new release to an existing artist:

      Oops, something went wrong!

      Error:

      Caught exception in MusicBrainz::Server::Controller::ReleaseEditor::Add->add "Attribute (params) does not pass the type constraint because: Validation failed for 'HashRef' with value undef at accessor HTML::FormHandler::params (defined at local/lib/perl5/HTML/FormHandler.pm line 182) line 4
      HTML::FormHandler::params('MusicBrainz::Server::Form::ReleaseEditor::Duplicates=HASH(0xe...', undef) called at local/lib/perl5/HTML/FormHandler.pm line 388
      HTML::FormHandler::setup_form('MusicBrainz::Server::Form::ReleaseEditor::Duplicates=HASH(0xe...', 'params', undef) called at local/lib/perl5/HTML/FormHandler.pm line 283
      HTML::FormHandler::process('MusicBrainz::Server::Form::ReleaseEditor::Duplicates=HASH(0xe...', 'params', undef) called at lib/MusicBrainz/Server/Form.pm line 109
      MusicBrainz::Server::Form::unserialize('MusicBrainz::Server::Form::ReleaseEditor::Duplicates=HASH(0xe...', 'HASH(0xe1e4e20)') called at lib/MusicBrainz/Server/Wizard.pm line 528
      MusicBrainz::Server::Wizard::_load_form('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xcd7c998)', 1, 'serialized', 'HASH(0xe1e4e20)') called at lib/MusicBrainz/Server/Wizard.pm line 238
      MusicBrainz::Server::Wizard::_load_page('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xcd7c998)', 1) called at lib/MusicBrainz/Server/Wizard.pm line 172
      MusicBrainz::Server::Wizard::navigate_to_page('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xcd7c998)') called at lib/MusicBrainz/Server/Wizard.pm line 401
      MusicBrainz::Server::Wizard::_route('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xcd7c998)', 'MusicBrainz::Server::Form::ReleaseEditor::Information=HASH(0x...') called at lib/MusicBrainz/Server/Wizard.pm line 132
      MusicBrainz::Server::Wizard::process('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xcd7c998)') called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 92
      MusicBrainz::Server::Wizard::ReleaseEditor::run('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xcd7c998)') called at lib/MusicBrainz/Server/Controller/ReleaseEditor/Add.pm line 23
      MusicBrainz::Server::Controller::ReleaseEditor::Add::add('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xbe...', 'MusicBrainz::Server=HASH(0xc659138)') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xc208eb0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xbe...', 'MusicBrainz::Server=HASH(0xc659138)') called at local/lib/perl5/Catalyst.pm line 1667
      eval

      {...} called at local/lib/perl5/Catalyst.pm line 1667
      Catalyst::execute('MusicBrainz::Server=HASH(0xc659138)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc208eb0)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xc659138)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc208eb0)') called at lib/MusicBrainz/Server.pm line 306
      MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0xc659138)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc208eb0)') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xc208eb0)', 'MusicBrainz::Server=HASH(0xc659138)') called at local/lib/perl5/Catalyst/Controller.pm line 125
      Catalyst::Controller::_ACTION('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xbe...', 'MusicBrainz::Server=HASH(0xc659138)') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xc0be128)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xbe...', 'MusicBrainz::Server=HASH(0xc659138)') called at local/lib/perl5/Catalyst.pm line 1667
      eval {...}

      called at local/lib/perl5/Catalyst.pm line 1667
      Catalyst::execute('MusicBrainz::Server=HASH(0xc659138)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc0be128)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xc659138)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc0be128)') called at lib/MusicBrainz/Server.pm line 306
      MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0xc659138)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc0be128)') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xc0be128)', 'MusicBrainz::Server=HASH(0xc659138)') called at local/lib/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x4417270)', 'forward', 'MusicBrainz::Server=HASH(0xc659138)', '_ACTION') called at local/lib/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x4417270)', 'MusicBrainz::Server=HASH(0xc659138)', '_ACTION') called at local/lib/perl5/Catalyst.pm line 342
      Catalyst::forward('MusicBrainz::Server=HASH(0xc659138)', '_ACTION') called at local/lib/perl5/Catalyst/Controller.pm line 99
      Catalyst::Controller::_DISPATCH('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xbe...', 'MusicBrainz::Server=HASH(0xc659138)') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xc21a268)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xbe...', 'MusicBrainz::Server=HASH(0xc659138)') called at local/lib/perl5/Catalyst.pm line 1667
      eval

      {...} called at local/lib/perl5/Catalyst.pm line 1667
      Catalyst::execute('MusicBrainz::Server=HASH(0xc659138)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc21a268)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xc659138)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc21a268)') called at lib/MusicBrainz/Server.pm line 306
      MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0xc659138)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc21a268)') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xc21a268)', 'MusicBrainz::Server=HASH(0xc659138)') called at local/lib/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x4417270)', 'forward', 'MusicBrainz::Server=HASH(0xc659138)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x4417270)', 'MusicBrainz::Server=HASH(0xc659138)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst.pm line 342
      Catalyst::forward('MusicBrainz::Server=HASH(0xc659138)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst/Dispatcher.pm line 105
      Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x4417270)', 'MusicBrainz::Server=HASH(0xc659138)') called at local/lib/perl5/Catalyst.pm line 1613
      Catalyst::dispatch('MusicBrainz::Server=HASH(0xc659138)') called at lib/MusicBrainz/Server.pm line 270
      Class::MOP::Class:::around('CODE(0x3c76498)', 'MusicBrainz::Server=HASH(0xc659138)') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xc659138)') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 91
      MusicBrainz::Server::dispatch('MusicBrainz::Server=HASH(0xc659138)') called at local/lib/perl5/Catalyst.pm line 1963
      Catalyst::_ANON_() called at local/lib/perl5/Try/Tiny.pm line 76
      eval {...}

      called at local/lib/perl5/Try/Tiny.pm line 67
      Try::Tiny::try('CODE(0xc485568)', 'Try::Tiny::Catch=REF(0xcb7cc90)') called at local/lib/perl5/Catalyst.pm line 1969
      Catalyst::handle_request('MusicBrainz::Server', 'env', 'HASH(0xca3d0c0)') called at lib/Catalyst/Plugin/AutoRestart.pm line 119
      Catalyst::Plugin::AutoRestart::handle_request('MusicBrainz::Server', 'env', 'HASH(0xca3d0c0)') called at local/lib/perl5/Catalyst/Engine.pm line 856
      Catalyst::Engine::_ANON_('CODE(0xcaa16b0)') called at local/lib/perl5/Plack/Handler/FCGI.pm line 134
      Plack::Handler::FCGI::run('Plack::Handler::FCGI=HASH(0x2114a30)', 'CODE(0xc4165c8)') called at local/lib/perl5/Plack/Loader.pm line 88
      Plack::Loader::run('Plack::Loader=HASH(0x20dde00)', 'Plack::Handler::FCGI=HASH(0x2114a30)') called at local/lib/perl5/Plack/Runner.pm line 263
      Plack::Runner::run('Plack::Runner=HASH(0x1ee0808)') called at local/bin/plackup line 10"

      Stack trace:

      line 109 MusicBrainz::Server::Form
      line 528 MusicBrainz::Server::Wizard
      line 238 MusicBrainz::Server::Wizard
      line 172 MusicBrainz::Server::Wizard
      line 401 MusicBrainz::Server::Wizard
      line 132 MusicBrainz::Server::Wizard
      line 92 MusicBrainz::Server::Wizard::ReleaseEditor
      line 23 MusicBrainz::Server::Controller::ReleaseEditor::Add
      line 306 MusicBrainz::Server
      line 306 MusicBrainz::Server
      line 306 MusicBrainz::Server
      line 270 MusicBrainz::Server

      Request data:

      $VAR1 = {
      'query_parameters' =>

      { 'artist' => 'b337f083-3224-4e1b-838b-65a0a13ef2d4' }

      ,
      'body_parameters' => {
      'artist_credit.names.0.name' => 'Kathryn Scott',
      'packaging_id' => '',
      'next' => "Next \x

      {bb}

      ",
      'date.month' => '08',
      'release_group_id' => '',
      'labels.0.catalog_number' => '',
      'wizard_page_id' => '0',
      'release_group.name' => '',
      'artist_credit.names.0.artist.id' => '104898',
      'labels.0.deleted' => '0',
      'country_id' => '222',
      'primary_type_id' => '1',
      'labels.0.name' => '',
      'date.year' => '2010',
      'id' => '',
      'script_id' => '28',
      'status_id' => '1',
      'date.day' => '10',
      'name' => 'We Still Believe',
      'barcode' => '',
      'artist_credit.names.0.join_phrase' => '',
      'labels.0.label_id' => '',
      'wizard_session_id' => '0.463409510577858',
      'language_id' => '120',
      'comment' => '',
      'gc-mode' => 'English',
      'artist_credit.names.0.artist.name' => 'Kathryn Scott',
      'annotation' => ''
      }
      };

      URL: http://musicbrainz.org/release/add?artist=b337f083-3224-4e1b-838b-65a0a13ef2d4

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bwarden Brett T. Warden
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package