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

ISE. can't add series alias

XMLWordPrintable

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

      Internal Server Error

      Oops, something went wrong!

      Error:

      Caught exception in MusicBrainz::Server::Controller::Series->add_alias "The edit could not be created.
      POST: $VAR1 =

      Unknown macro: { 'edit-alias.edit_note' => '', 'edit-alias.type_id' => '2', 'edit-alias.name' => 'enka no chikara' }

      ;

      Exception:$VAR1 = 'DBD::Pg::st execute failed: ERROR: null value in column "sort_name" violates not-null constraint at lib/Sql.pm line 443, line 3.
      at lib/Sql.pm line 456
      Sql::_ANON_(\'DBD::Pg::st execute failed: ERROR: null value in column "sor...\') called at /usr/share/perl5/Try/Tiny.pm line 100
      Try::Tiny::try(\'CODE(0x13862c10)\', \'Try::Tiny::Catch=REF(0x1386c6f8)\', \'Try::Tiny::Finally=REF(0xff15a90)\') called at lib/Sql.pm line 460
      Sql::_select_list(\'Sql=HASH(0xe375120)\', \'INSERT INTO series_alias (ended,primary_for_locale,name,type,...\', \'ARRAY(0xff8b798)\', \'arrayref\', \'CODE(0x4f23410)\') called at lib/Sql.pm line 479
      Sql::select_list_of_lists(\'Sql=HASH(0xe375120)\', \'INSERT INTO series_alias (ended,primary_for_locale,name,type,...\', 0, 0, \'enka no chikara\', 2, undef, undef, 27, ...) called at lib/Sql.pm line 410
      Sql::select_single_column_array(\'Sql=HASH(0xe375120)\', \'INSERT INTO series_alias (ended,primary_for_locale,name,type,...\', 0, 0, \'enka no chikara\', 2, undef, undef, 27, ...) called at lib/Sql.pm line 425
      Sql::select_single_value(\'Sql=HASH(0xe375120)\', \'INSERT INTO series_alias (ended,primary_for_locale,name,type,...\', 0, 0, \'enka no chikara\', 2, undef, undef, 27, ...) called at lib/Sql.pm line 150
      Sql::insert_row(\'Sql=HASH(0xe375120)\', \'series_alias\', \'HASH(0x13853790)\', \'id\') called at lib/MusicBrainz/Server/Data/Alias.pm line 172
      MusicBrainz::Server::Data::Alias::insert(\'Moose::Meta::Class::_ANON_::SERIAL::385=HASH(0x4f19318)\', \'HASH(0x138449f0)\') called at lib/MusicBrainz/Server/Edit/Alias/Add.pm line 70
      Moose::Meta::Role::_ANON_::SERIAL::387::insert(\'MusicBrainz::Server::Edit::Series::AddAlias=HASH(0x1375d150)\') called at lib/MusicBrainz/Server/Data/Edit.pm line 463
      MusicBrainz::Server::Data::Edit::create(\'MusicBrainz::Server::Data::Edit=HASH(0xc3e1818)\', \'editor_id\', 285909, \'privileges\', 0, \'entity\', \'MusicBrainz::Server::Entity::Series=HASH(0xe1823d8)\', \'ended\', 0, ...) called at lib/MusicBrainz/Server/Controller.pm line 89
      MusicBrainz::Server::Controller::_ANON_() called at /usr/share/perl5/Try/Tiny.pm line 76
      eval

      Unknown macro: {...}

      called at /usr/share/perl5/Try/Tiny.pm line 67
      Try::Tiny::try(\'CODE(0xff15850)\', \'Try::Tiny::Catch=REF(0xff8b480)\') called at lib/MusicBrainz/Server/Controller.pm line 105
      MusicBrainz::Server::Controller::_insert_edit(\'MusicBrainz::Server::Controller::Series=HASH(0xd784680)\', \'MusicBrainz::Server=HASH(0xe196810)\', \'MusicBrainz::Server::Form::Alias=HASH(0xea19f28)\', \'edit_type\', 145, \'name\', \'enka no chikara\', \'locale\', undef, ...) called at lib/MusicBrainz/Server/Controller.pm line 185
      MusicBrainz::Server::Controller::_ANON_() called at lib/Sql.pm line 307
      Sql::_ANON_() called at /usr/share/perl5/Try/Tiny.pm line 76
      eval

      called at /usr/share/perl5/Try/Tiny.pm line 67
      Try::Tiny::try(\'CODE(0xff8b378)\', \'Try::Tiny::Catch=REF(0xff8b618)\') called at lib/Sql.pm line 320
      Sql::_auto_transaction(\'CODE(0xff8b228)\', \'Sql=HASH(0xe375120)\') called at lib/Sql.pm line 325
      Sql::_run_in_transaction_one(\'CODE(0xff8b228)\', \'Sql=HASH(0xe375120)\') called at lib/Sql.pm line 339
      Sql::run_in_transaction(\'CODE(0xff8b228)\', \'Sql=HASH(0xe375120)\') called at lib/MusicBrainz/Server/Model/MB.pm line 19
      MusicBrainz::Server::Model::MB::with_transaction(\'MusicBrainz::Server::Model::MB=HASH(0xbcc0118)\', \'CODE(0xff8b228)\') called at lib/MusicBrainz/Server/Controller.pm line 202
      MusicBrainz::Server::Controller::edit_action(\'MusicBrainz::Server::Controller::Series=HASH(0xd784680)\', \'MusicBrainz::Server=HASH(0xe196810)\', \'item\', \'HASH(0xe8b0618)\', \'form\', \'Alias\', \'edit_args\', \'HASH(0xe8a4200)\', \'type\', ...) called at lib/MusicBrainz/Server/Controller/Role/EditRelationships.pm line 57
      Class::MOP::Class:::around(\'CODE(0x5047220)\', \'MusicBrainz::Server::Controller::Series=HASH(0xd784680)\', \'MusicBrainz::Server=HASH(0xe196810)\', \'form\', \'Alias\', \'form_args\', \'HASH(0x97b12c0)\', \'type\', 145, ...) called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_(\'MusicBrainz::Server::Controller::Series=HASH(0xd784680)\', \'MusicBrainz::Server=HASH(0xe196810)\', \'form\', \'Alias\', \'form_args\', \'HASH(0x97b12c0)\', \'type\', 145, \'edit_args\', ...) called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 91
      MusicBrainz::Server::Controller::Series::edit_action(\'MusicBrainz::Server::Controller::Series=HASH(0xd784680)\', \'MusicBrainz::Server=HASH(0xe196810)\', \'form\', \'Alias\', \'form_args\', \'HASH(0x97b12c0)\', \'type\', 145, \'edit_args\', ...) called at lib/MusicBrainz/Server/Controller/Role/Alias.pm line 92
      MusicBrainz::Server::Controller::Role::Alias::add_alias(\'MusicBrainz::Server::Controller::Series=HASH(0xd784680)\', \'MusicBrainz::Server=HASH(0xe196810)\') called at /usr/share/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute(\'Catalyst::Action=HASH(0xd985650)\', \'MusicBrainz::Server::Controller::Series=HASH(0xd784680)\', \'MusicBrainz::Server=HASH(0xe196810)\') called at /usr/share/perl5/Catalyst.pm line 1691
      eval

      Unknown macro: {...}

      called at /usr/share/perl5/Catalyst.pm line 1691
      Catalyst::execute(\'MusicBrainz::Server=HASH(0xe196810)\', \'MusicBrainz::Server::Controller::Series\', \'Catalyst::Action=HASH(0xd985650)\') called at /usr/share/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute(\'MusicBrainz::Server=HASH(0xe196810)\', \'MusicBrainz::Server::Controller::Series\', \'Catalyst::Action=HASH(0xd985650)\') called at /usr/share/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch(\'Catalyst::Action=HASH(0xd985650)\', \'MusicBrainz::Server=HASH(0xe196810)\') called at /usr/share/perl5/Catalyst/ActionChain.pm line 38
      Catalyst::ActionChain::dispatch(\'Catalyst::ActionChain=HASH(0xe3720e8)\', \'MusicBrainz::Server=HASH(0xe196810)\') called at /usr/share/perl5/Catalyst/Controller.pm line 125
      Catalyst::Controller::_ACTION(\'MusicBrainz::Server::Controller::Series=HASH(0xd784680)\', \'MusicBrainz::Server=HASH(0xe196810)\') called at /usr/share/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute(\'Catalyst::Action=HASH(0xd9119a8)\', \'MusicBrainz::Server::Controller::Series=HASH(0xd784680)\', \'MusicBrainz::Server=HASH(0xe196810)\') called at /usr/share/perl5/Catalyst.pm line 1691
      eval

      called at /usr/share/perl5/Catalyst.pm line 1691
      Catalyst::execute(\'MusicBrainz::Server=HASH(0xe196810)\', \'MusicBrainz::Server::Controller::Series\', \'Catalyst::Action=HASH(0xd9119a8)\') called at /usr/share/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute(\'MusicBrainz::Server=HASH(0xe196810)\', \'MusicBrainz::Server::Controller::Series\', \'Catalyst::Action=HASH(0xd9119a8)\') called at /usr/share/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch(\'Catalyst::Action=HASH(0xd9119a8)\', \'MusicBrainz::Server=HASH(0xe196810)\') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward(\'Catalyst::Dispatcher=HASH(0x3e7b8f0)\', \'forward\', \'MusicBrainz::Server=HASH(0xe196810)\', \'_ACTION\') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward(\'Catalyst::Dispatcher=HASH(0x3e7b8f0)\', \'MusicBrainz::Server=HASH(0xe196810)\', \'_ACTION\') called at /usr/share/perl5/Catalyst.pm line 358
      Catalyst::forward(\'MusicBrainz::Server=HASH(0xe196810)\', \'_ACTION\') called at /usr/share/perl5/Catalyst/Controller.pm line 99
      Catalyst::Controller::_DISPATCH(\'MusicBrainz::Server::Controller::Series=HASH(0xd784680)\', \'MusicBrainz::Server=HASH(0xe196810)\') called at /usr/share/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute(\'Catalyst::Action=HASH(0xd9116a8)\', \'MusicBrainz::Server::Controller::Series=HASH(0xd784680)\', \'MusicBrainz::Server=HASH(0xe196810)\') called at /usr/share/perl5/Catalyst.pm line 1691
      eval

      Unknown macro: {...}

      called at /usr/share/perl5/Catalyst.pm line 1691
      Catalyst::execute(\'MusicBrainz::Server=HASH(0xe196810)\', \'MusicBrainz::Server::Controller::Series\', \'Catalyst::Action=HASH(0xd9116a8)\') called at /usr/share/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute(\'MusicBrainz::Server=HASH(0xe196810)\', \'MusicBrainz::Server::Controller::Series\', \'Catalyst::Action=HASH(0xd9116a8)\') called at /usr/share/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch(\'Catalyst::Action=HASH(0xd9116a8)\', \'MusicBrainz::Server=HASH(0xe196810)\') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward(\'Catalyst::Dispatcher=HASH(0x3e7b8f0)\', \'forward\', \'MusicBrainz::Server=HASH(0xe196810)\', \'/series/_DISPATCH\') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward(\'Catalyst::Dispatcher=HASH(0x3e7b8f0)\', \'MusicBrainz::Server=HASH(0xe196810)\', \'/series/_DISPATCH\') called at /usr/share/perl5/Catalyst.pm line 358
      Catalyst::forward(\'MusicBrainz::Server=HASH(0xe196810)\', \'/series/_DISPATCH\') called at /usr/share/perl5/Catalyst/Dispatcher.pm line 105
      Catalyst::Dispatcher::dispatch(\'Catalyst::Dispatcher=HASH(0x3e7b8f0)\', \'MusicBrainz::Server=HASH(0xe196810)\') called at /usr/share/perl5/Catalyst.pm line 1637
      Catalyst::dispatch(\'MusicBrainz::Server=HASH(0xe196810)\') called at lib/MusicBrainz/Server.pm line 335
      MusicBrainz::Server::_ANON_() called at lib/MusicBrainz/Server.pm line 309
      MusicBrainz::Server::with_translations(\'MusicBrainz::Server=HASH(0xe196810)\', \'CODE(0xdfa27f0)\') called at lib/MusicBrainz/Server.pm line 336
      Class::MOP::Class:::around(\'CODE(0x32aafd0)\', \'MusicBrainz::Server=HASH(0xe196810)\') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_(\'MusicBrainz::Server=HASH(0xe196810)\') called at lib/MusicBrainz/Server.pm line 350
      Class::MOP::Class:::around(\'CODE(0x3e7b7a0)\', \'MusicBrainz::Server=HASH(0xe196810)\') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_(\'MusicBrainz::Server=HASH(0xe196810)\') called at lib/MusicBrainz/Server.pm line 395
      Class::MOP::Class:::around(\'CODE(0xdd93e40)\', \'MusicBrainz::Server=HASH(0xe196810)\') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_(\'MusicBrainz::Server=HASH(0xe196810)\') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 35
      Class::MOP::Method::Wrapped::_ANON_(\'MusicBrainz::Server=HASH(0xe196810)\') called at /usr/lib/perl5/Class/MOP/Method/Wrapped.pm line 91
      MusicBrainz::Server::dispatch(\'MusicBrainz::Server=HASH(0xe196810)\') called at /usr/share/perl5/Catalyst.pm line 1987
      Catalyst::_ANON_() called at /usr/share/perl5/Try/Tiny.pm line 76
      eval

      called at /usr/share/perl5/Try/Tiny.pm line 67
      Try::Tiny::try(\'CODE(0xe172ac0)\', \'Try::Tiny::Catch=REF(0xe36fe10)\') called at /usr/share/perl5/Catalyst.pm line 1993
      Catalyst::handle_request(\'MusicBrainz::Server\', \'env\', \'HASH(0xb6ab728)\', \'response_cb\', \'CODE(0xe36f9a8)\') called at /usr/share/perl5/Catalyst/Plugin/AutoRestart.pm line 117
      Catalyst::Plugin::AutoRestart::handle_request(\'MusicBrainz::Server\', \'env\', \'HASH(0xb6ab728)\', \'response_cb\', \'CODE(0xe36f9a8)\') called at /usr/share/perl5/Catalyst/Engine.pm line 682
      Catalyst::Engine::_ANON_(\'CODE(0xe36f9a8)\') called at /usr/share/perl5/Starman/Server.pm line 225
      Starman::Server::process_request(\'Starman::Server=HASH(0x14514e0)\') called at /usr/share/perl5/Net/Server.pm line 142
      Net::Server::run_client_connection(\'Starman::Server=HASH(0x14514e0)\') called at /usr/share/perl5/Net/Server/PreFork.pm line 273
      eval

      Unknown macro: {...}

      called at /usr/share/perl5/Net/Server/PreFork.pm line 273
      Net::Server::PreFork::run_child(\'Starman::Server=HASH(0x14514e0)\') called at /usr/share/perl5/Net/Server/PreFork.pm line 229
      Net::Server::PreFork::run_n_children(\'Starman::Server=HASH(0x14514e0)\', 1) called at /usr/share/perl5/Net/Server/PreFork.pm line 456
      Net::Server::PreFork::coordinate_children(\'Starman::Server=HASH(0x14514e0)\') called at /usr/share/perl5/Net/Server/PreFork.pm line 357
      Net::Server::PreFork::run_parent(\'Starman::Server=HASH(0x14514e0)\') called at /usr/share/perl5/Starman/Server.pm line 104
      Starman::Server::run_parent(\'Starman::Server=HASH(0x14514e0)\') called at /usr/share/perl5/Net/Server/PreFork.pm line 147
      Net::Server::PreFork::loop(\'Starman::Server=HASH(0x14514e0)\') called at /usr/share/perl5/Net/Server.pm line 117
      Net::Server::run(\'Starman::Server=HASH(0x14514e0)\', \'port\', \'ARRAY(0x346db00)\', \'host\', \'ARRAY(0x346dbd8)\', \'proto\', \'ARRAY(0xddd45b0)\', \'serialize\', \'flock\', ...) called at /usr/share/perl5/Starman/Server.pm line 61
      Starman::Server::run(\'Starman::Server=HASH(0x14514e0)\', \'CODE(0xddcecd8)\', \'HASH(0x1451468)\') called at /usr/share/perl5/Plack/Handler/Starman.pm line 18
      Plack::Handler::Starman::run(\'Plack::Handler::Starman=HASH(0x1451540)\', \'CODE(0xddcecd8)\') called at /usr/share/perl5/Plack/Loader.pm line 88
      Plack::Loader::run(\'Plack::Loader=HASH(0x141b778)\', \'Plack::Handler::Starman=HASH(0x1451540)\') called at /usr/share/perl5/Plack/Runner.pm line 263
      Plack::Runner::run(\'Plack::Runner=HASH(0x1215898)\') called at /usr/bin/starman line 31
      ';
      at lib/MusicBrainz/Server/Controller.pm line 105
      at lib/Sql.pm line 320"

      Stack trace:
      line 19 MusicBrainz::Server::Model::MB
      line 202 MusicBrainz::Server::Controller
      line 57 MusicBrainz::Server::Controller::Role::EditRelationships
      line 92 MusicBrainz::Server::Controller::Role::Alias
      line 335 MusicBrainz::Server
      line 309 MusicBrainz::Server
      line 336 MusicBrainz::Server
      line 350 MusicBrainz::Server
      line 395 MusicBrainz::Server

      Request data:
      $VAR1 = {
      'query_parameters' => {},
      'body_parameters' =>

      Unknown macro: { 'edit-alias.edit_note' => '', 'edit-alias.type_id' => '2', 'edit-alias.name' => 'enka no chikara' }

      };

      Time: 2014-05-14 18:16:54 UTC

      Host: astro

      URL: https://musicbrainz.org/series/fd565848-7c48-47ab-b623-4dc91d1ce88d/add-alias

      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
            jesus2099 jesus2099
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package