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

Error when about to edit tracklist of Standards, by Tortoise (Brazilian release)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: Bug fixes, 2012-07-09
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Abrowser 13.0 (Trisquel GNU/Linux's flavor of Firefox)

      Description

      When I try to edit Standards, by Tortoise (Brazilian release – http://musicbrainz.org/release/bcdd7305-332c-4ff4-9e9e-00bab5b54c44 ), the first screen works fine; but when I click "next", I get the following error:

      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(0xcd...', undef) called at local/lib/perl5/HTML/FormHandler.pm line 388
      HTML::FormHandler::setup_form('MusicBrainz::Server::Form::ReleaseEditor::Tracklist=HASH(0xcd...', 'params', undef) called at local/lib/perl5/HTML/FormHandler.pm line 283
      HTML::FormHandler::process('MusicBrainz::Server::Form::ReleaseEditor::Tracklist=HASH(0xcd...', 'params', undef) called at lib/MusicBrainz/Server/Form.pm line 109
      MusicBrainz::Server::Form::unserialize('MusicBrainz::Server::Form::ReleaseEditor::Tracklist=HASH(0xcd...', 'HASH(0xcd95798)') called at lib/MusicBrainz/Server/Wizard.pm line 528
      MusicBrainz::Server::Wizard::_load_form('MusicBrainz::Server::Wizard::ReleaseEditor::Edit=HASH(0xbcba970)', 1, 'serialized', 'HASH(0xcd95798)') called at lib/MusicBrainz/Server/Wizard.pm line 238
      MusicBrainz::Server::Wizard::_load_page('MusicBrainz::Server::Wizard::ReleaseEditor::Edit=HASH(0xbcba970)', 1) called at lib/MusicBrainz/Server/Wizard.pm line 172
      MusicBrainz::Server::Wizard::navigate_to_page('MusicBrainz::Server::Wizard::ReleaseEditor::Edit=HASH(0xbcba970)') called at lib/MusicBrainz/Server/Wizard.pm line 401
      MusicBrainz::Server::Wizard::_route('MusicBrainz::Server::Wizard::ReleaseEditor::Edit=HASH(0xbcba970)', '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(0xbcba970)') called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 92
      MusicBrainz::Server::Wizard::ReleaseEditor::run('MusicBrainz::Server::Wizard::ReleaseEditor::Edit=HASH(0xbcba970)') called at lib/MusicBrainz/Server/Controller/ReleaseEditor/Edit.pm line 17
      MusicBrainz::Server::Controller::ReleaseEditor::Edit::edit('MusicBrainz::Server::Controller::ReleaseEditor::Edit=HASH(0xa...', 'MusicBrainz::Server=HASH(0xb4343c8)') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xb025a70)', 'MusicBrainz::Server::Controller::ReleaseEditor::Edit=HASH(0xa...', 'MusicBrainz::Server=HASH(0xb4343c8)') called at local/lib/perl5/Catalyst.pm line 1667
      eval

      Unknown macro: {...}

      called at local/lib/perl5/Catalyst.pm line 1667
      Catalyst::execute('MusicBrainz::Server=HASH(0xb4343c8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Edit', 'Catalyst::Action=HASH(0xb025a70)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xb4343c8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Edit', 'Catalyst::Action=HASH(0xb025a70)') called at lib/MusicBrainz/Server.pm line 306
      MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0xb4343c8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Edit', 'Catalyst::Action=HASH(0xb025a70)') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xb025a70)', 'MusicBrainz::Server=HASH(0xb4343c8)') called at local/lib/perl5/Catalyst/ActionChain.pm line 38
      Catalyst::ActionChain::dispatch('Catalyst::ActionChain=HASH(0xb436f48)', 'MusicBrainz::Server=HASH(0xb4343c8)') called at local/lib/perl5/Catalyst/Controller.pm line 125
      Catalyst::Controller::_ACTION('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xae...', 'MusicBrainz::Server=HASH(0xb4343c8)') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xb025518)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xae...', 'MusicBrainz::Server=HASH(0xb4343c8)') called at local/lib/perl5/Catalyst.pm line 1667
      eval

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

      Unknown macro: {...}

      called at local/lib/perl5/Catalyst.pm line 1667
      Catalyst::execute('MusicBrainz::Server=HASH(0xb4343c8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xb186f40)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xb4343c8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xb186f40)') called at lib/MusicBrainz/Server.pm line 306
      MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0xb4343c8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xb186f40)') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xb186f40)', 'MusicBrainz::Server=HASH(0xb4343c8)') called at local/lib/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x3382750)', 'forward', 'MusicBrainz::Server=HASH(0xb4343c8)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x3382750)', 'MusicBrainz::Server=HASH(0xb4343c8)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst.pm line 342
      Catalyst::forward('MusicBrainz::Server=HASH(0xb4343c8)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst/Dispatcher.pm line 105
      Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x3382750)', 'MusicBrainz::Server=HASH(0xb4343c8)') called at local/lib/perl5/Catalyst.pm line 1613
      Catalyst::dispatch('MusicBrainz::Server=HASH(0xb4343c8)') called at lib/MusicBrainz/Server.pm line 270
      Class::MOP::Class:::around('CODE(0x2bde548)', 'MusicBrainz::Server=HASH(0xb4343c8)') 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(0xb4343c8)') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 91
      MusicBrainz::Server::dispatch('MusicBrainz::Server=HASH(0xb4343c8)') 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(0xb415a48)', 'Try::Tiny::Catch=REF(0xb8e5958)') called at local/lib/perl5/Catalyst.pm line 1969
      Catalyst::handle_request('MusicBrainz::Server', 'env', 'HASH(0xb415cd0)') called at local/lib/perl5/Catalyst/Plugin/AutoRestart.pm line 114
      Catalyst::Plugin::AutoRestart::handle_request('MusicBrainz::Server', 'env', 'HASH(0xb415cd0)') called at local/lib/perl5/Catalyst/Engine.pm line 856
      Catalyst::Engine::_ANON_('CODE(0xb3f3068)') called at local/lib/perl5/Plack/Handler/FCGI.pm line 134
      Plack::Handler::FCGI::run('Plack::Handler::FCGI=HASH(0x107ca30)', 'CODE(0xb382460)') called at local/lib/perl5/Plack/Loader.pm line 88
      Plack::Loader::run('Plack::Loader=HASH(0x1045e00)', 'Plack::Handler::FCGI=HASH(0x107ca30)') called at local/lib/perl5/Plack/Runner.pm line 263
      Plack::Runner::run('Plack::Runner=HASH(0xe48808)') 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' => 'Tortoise',
      'packaging_id' => '1',
      'next' => "Next \x

      Unknown macro: {bb}

      ",
      'labels.1.deleted' => '0',
      'release_group_id' => '54561',
      'labels.0.deleted' => '0',
      'id' => '1169378',
      'date.day' => '',
      'name' => 'Standards',
      'barcode' => '7898133064388',
      'labels.0.label_id' => '18064',
      'labels.1.label_id' => '411',
      'language_id' => '120',
      'annotation' => '',
      'date.month' => '',
      'release_group.name' => 'Standards',
      'wizard_page_id' => '0',
      'labels.0.catalog_number' => 'T900/438-2',
      'artist_credit.names.0.artist.id' => '11547',
      'country_id' => '30',
      'date.year' => '2001',
      'labels.0.name' => 'Trama',
      'labels.1.name' => 'Thrill Jockey',
      'script_id' => '28',
      'labels.1.catalog_number' => '',
      'status_id' => '1',
      'artist_credit.names.0.join_phrase' => '',
      'wizard_session_id' => '0.556367422078388',
      'comment' => '',
      'gc-roman' => 'on',
      'gc-mode' => 'English',
      'artist_credit.names.0.artist.name' => 'Tortoise'
      }
      };

      URL: http://musicbrainz.org/release/bcdd7305-332c-4ff4-9e9e-00bab5b54c44/edit

      It doesn't seem to be related with the selection of the "correct" release groups, artist and labels (I've tried manually selecting the correct ones and got an error all the same).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                miguelvieira Miguel Said Vieira
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package