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

Caught exception in MusicBrainz::Server::Controller::ReleaseEditor::Edit->edit "Attribute (params) does not pass the type constraint [...]

XMLWordPrintable

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

      Happened twice, thus filing issue. Trying to edit <http://musicbrainz.org/release/44dccb3a-53bf-4fa9-9e26-37f9fd79c06a>: set Packaging, Label, Cat. No., Barcode, hit Next, boom:

      Internal Server Error
      
      Oops, something went wrong!
      
      Error:
      
      Caught exception in MusicBrainz::Server::Controller::ReleaseEditor::Edit->edit "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::Tracklist=HASH(0xe0...', undef) called at local/lib/perl5/HTML/FormHandler.pm line 388
      	HTML::FormHandler::setup_form('MusicBrainz::Server::Form::ReleaseEditor::Tracklist=HASH(0xe0...', 'params', undef) called at local/lib/perl5/HTML/FormHandler.pm line 283
      	HTML::FormHandler::process('MusicBrainz::Server::Form::ReleaseEditor::Tracklist=HASH(0xe0...', 'params', undef) called at lib/MusicBrainz/Server/Form.pm line 109
      	MusicBrainz::Server::Form::unserialize('MusicBrainz::Server::Form::ReleaseEditor::Tracklist=HASH(0xe0...', 'HASH(0x5595270)') called at lib/MusicBrainz/Server/Wizard.pm line 528
      	MusicBrainz::Server::Wizard::_load_form('MusicBrainz::Server::Wizard::ReleaseEditor::Edit=HASH(0x5af6a90)', 1, 'serialized', 'HASH(0x5595270)') called at lib/MusicBrainz/Server/Wizard.pm line 238
      	MusicBrainz::Server::Wizard::_load_page('MusicBrainz::Server::Wizard::ReleaseEditor::Edit=HASH(0x5af6a90)', 1) called at lib/MusicBrainz/Server/Wizard.pm line 172
      	MusicBrainz::Server::Wizard::navigate_to_page('MusicBrainz::Server::Wizard::ReleaseEditor::Edit=HASH(0x5af6a90)') called at lib/MusicBrainz/Server/Wizard.pm line 401
      	MusicBrainz::Server::Wizard::_route('MusicBrainz::Server::Wizard::ReleaseEditor::Edit=HASH(0x5af6a90)', 'MusicBrainz::Server::Form::ReleaseEditor::Information=HASH(0x...') called at lib/MusicBrainz/Server/Wizard.pm line 132
      	MusicBrainz::Server::Wizard::process('MusicBrainz::Server::Wizard::ReleaseEditor::Edit=HASH(0x5af6a90)') called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 92
      	MusicBrainz::Server::Wizard::ReleaseEditor::run('MusicBrainz::Server::Wizard::ReleaseEditor::Edit=HASH(0x5af6a90)') called at lib/MusicBrainz/Server/Controller/ReleaseEditor/Edit.pm line 17
      	MusicBrainz::Server::Controller::ReleaseEditor::Edit::edit('MusicBrainz::Server::Controller::ReleaseEditor::Edit=HASH(0xb...', 'MusicBrainz::Server=HASH(0xc72d448)') called at local/lib/perl5/Catalyst/Action.pm line 65
      	Catalyst::Action::execute('Catalyst::Action=HASH(0xbab29a0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Edit=HASH(0xb...', 'MusicBrainz::Server=HASH(0xc72d448)') called at local/lib/perl5/Catalyst.pm line 1667
      	eval {...} called at local/lib/perl5/Catalyst.pm line 1667
      	Catalyst::execute('MusicBrainz::Server=HASH(0xc72d448)', 'MusicBrainz::Server::Controller::ReleaseEditor::Edit', 'Catalyst::Action=HASH(0xbab29a0)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      	Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xc72d448)', 'MusicBrainz::Server::Controller::ReleaseEditor::Edit', 'Catalyst::Action=HASH(0xbab29a0)') called at lib/MusicBrainz/Server.pm line 306
      	MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0xc72d448)', 'MusicBrainz::Server::Controller::ReleaseEditor::Edit', 'Catalyst::Action=HASH(0xbab29a0)') called at local/lib/perl5/Catalyst/Action.pm line 60
      	Catalyst::Action::dispatch('Catalyst::Action=HASH(0xbab29a0)', 'MusicBrainz::Server=HASH(0xc72d448)') called at local/lib/perl5/Catalyst/ActionChain.pm line 38
      	Catalyst::ActionChain::dispatch('Catalyst::ActionChain=HASH(0xd1ea498)', 'MusicBrainz::Server=HASH(0xc72d448)') called at local/lib/perl5/Catalyst/Controller.pm line 125
      	Catalyst::Controller::_ACTION('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xb8...', 'MusicBrainz::Server=HASH(0xc72d448)') called at local/lib/perl5/Catalyst/Action.pm line 65
      	Catalyst::Action::execute('Catalyst::Action=HASH(0xbab2448)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xb8...', 'MusicBrainz::Server=HASH(0xc72d448)') called at local/lib/perl5/Catalyst.pm line 1667
      	eval {...} called at local/lib/perl5/Catalyst.pm line 1667
      	Catalyst::execute('MusicBrainz::Server=HASH(0xc72d448)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbab2448)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      	Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xc72d448)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbab2448)') called at lib/MusicBrainz/Server.pm line 306
      	MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0xc72d448)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbab2448)') called at local/lib/perl5/Catalyst/Action.pm line 60
      	Catalyst::Action::dispatch('Catalyst::Action=HASH(0xbab2448)', 'MusicBrainz::Server=HASH(0xc72d448)') called at local/lib/perl5/Catalyst/Dispatcher.pm line 257
      	Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x3bc4898)', 'forward', 'MusicBrainz::Server=HASH(0xc72d448)', '_ACTION') called at local/lib/perl5/Catalyst/Dispatcher.pm line 237
      	Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x3bc4898)', 'MusicBrainz::Server=HASH(0xc72d448)', '_ACTION') called at local/lib/perl5/Catalyst.pm line 342
      	Catalyst::forward('MusicBrainz::Server=HASH(0xc72d448)', '_ACTION') called at local/lib/perl5/Catalyst/Controller.pm line 99
      	Catalyst::Controller::_DISPATCH('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xb8...', 'MusicBrainz::Server=HASH(0xc72d448)') called at local/lib/perl5/Catalyst/Action.pm line 65
      	Catalyst::Action::execute('Catalyst::Action=HASH(0xbc12a50)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xb8...', 'MusicBrainz::Server=HASH(0xc72d448)') called at local/lib/perl5/Catalyst.pm line 1667
      	eval {...} called at local/lib/perl5/Catalyst.pm line 1667
      	Catalyst::execute('MusicBrainz::Server=HASH(0xc72d448)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbc12a50)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      	Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xc72d448)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbc12a50)') called at lib/MusicBrainz/Server.pm line 306
      	MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0xc72d448)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbc12a50)') called at local/lib/perl5/Catalyst/Action.pm line 60
      	Catalyst::Action::dispatch('Catalyst::Action=HASH(0xbc12a50)', 'MusicBrainz::Server=HASH(0xc72d448)') called at local/lib/perl5/Catalyst/Dispatcher.pm line 257
      	Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x3bc4898)', 'forward', 'MusicBrainz::Server=HASH(0xc72d448)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst/Dispatcher.pm line 237
      	Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x3bc4898)', 'MusicBrainz::Server=HASH(0xc72d448)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst.pm line 342
      	Catalyst::forward('MusicBrainz::Server=HASH(0xc72d448)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst/Dispatcher.pm line 105
      	Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x3bc4898)', 'MusicBrainz::Server=HASH(0xc72d448)') called at local/lib/perl5/Catalyst.pm line 1613
      	Catalyst::dispatch('MusicBrainz::Server=HASH(0xc72d448)') called at lib/MusicBrainz/Server.pm line 270
      	Class::MOP::Class:::around('CODE(0x3668bf8)', 'MusicBrainz::Server=HASH(0xc72d448)') 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(0xc72d448)') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 91
      	MusicBrainz::Server::dispatch('MusicBrainz::Server=HASH(0xc72d448)') 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(0xd1ecd18)', 'Try::Tiny::Catch=REF(0xbebc280)') called at local/lib/perl5/Catalyst.pm line 1969
      	Catalyst::handle_request('MusicBrainz::Server', 'env', 'HASH(0xc3aba70)') called at lib/Catalyst/Plugin/AutoRestart.pm line 119
      	Catalyst::Plugin::AutoRestart::handle_request('MusicBrainz::Server', 'env', 'HASH(0xc3aba70)') called at local/lib/perl5/Catalyst/Engine.pm line 856
      	Catalyst::Engine::__ANON__('CODE(0xbe87118)') called at local/lib/perl5/Plack/Handler/FCGI.pm line 134
      	Plack::Handler::FCGI::run('Plack::Handler::FCGI=HASH(0x1b08a30)', 'CODE(0xbe24508)') called at local/lib/perl5/Plack/Loader.pm line 88
      	Plack::Loader::run('Plack::Loader=HASH(0x1ad1e00)', 'Plack::Handler::FCGI=HASH(0x1b08a30)') called at local/lib/perl5/Plack/Runner.pm line 263
      	Plack::Runner::run('Plack::Runner=HASH(0x18d4808)') 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 17 MusicBrainz::Server::Controller::ReleaseEditor::Edit
          line 306 MusicBrainz::Server
          line 306 MusicBrainz::Server
          line 306 MusicBrainz::Server
          line 270 MusicBrainz::Server
      
      Request data:
      
      $VAR1 = {
                'query_parameters' => {},
                'body_parameters' => {
                                       'artist_credit.names.0.name' => 'Noisetoys',
                                       'packaging_id' => '1',
                                       'next' => "Next \x{bb}",
                                       'date.month' => '',
                                       'release_group_id' => '667499',
                                       'labels.0.catalog_number' => 'PGD 9920',
                                       'wizard_page_id' => '0',
                                       'release_group.name' => 'Plastinka',
                                       'artist_credit.names.0.artist.id' => '486066',
                                       'labels.0.deleted' => '0',
                                       'country_id' => '81',
                                       'labels.0.name' => 'Pleitegeier Records',
                                       'date.year' => '1999',
                                       'id' => '331125',
                                       'script_id' => '28',
                                       'status_id' => '1',
                                       'date.day' => '',
                                       'name' => 'Plastinka',
                                       'gc-keepuppercase' => 'on',
                                       'barcode' => '4031221099203',
                                       'artist_credit.names.0.join_phrase' => '',
                                       'labels.0.label_id' => '67198',
                                       'wizard_session_id' => '0.423383599935683',
                                       'language_id' => '120',
                                       'comment' => '',
                                       'gc-mode' => 'English',
                                       'artist_credit.names.0.artist.name' => 'Noisetoys',
                                       'annotation' => ''
                                     }
              };
                  
      
      URL: http://musicbrainz.org/release/44dccb3a-53bf-4fa9-9e26-37f9fd79c06a/edit
      
      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
            tschwinge Thomas Schwinge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package