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

ISE when two homonymous artists are given the same disambiguation

XMLWordPrintable

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

      Error:

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

      Unknown macro: { 'edit-artist.edit_note' => '', 'edit-artist.as_auto_editor' => '1', 'edit-artist.period.end_date.month' => '', 'edit-artist.country_id' => '', 'edit-artist.gender_id' => '', 'edit-artist.period.begin_date.year' => '', 'edit-artist.period.end_date.year' => '', 'edit-artist.ipi_codes.0' => '', 'edit-artist.rename_artist_credit' => '672286', 'edit-artist.period.begin_date.month' => '', 'edit-artist.type_id' => '', 'edit-artist.sort_name' => 'Very Us Artists, The', 'edit-artist.period.end_date.day' => '', 'edit-artist.comment' => 'http}

      ;

      Exception:$VAR1 = 'Failed query:
      \'UPDATE artist SET comment = ? WHERE id = ?\'
      (http://www.veryusartists.com/ 672286)
      DBD::Pg::st execute failed: ERROR: duplicate key value violates unique constraint "artist_idx_uniq_name_comment"
      DETAIL: Key (name, comment)=(167813, http://www.veryusartists.com/) already exists. at lib/Sql.pm line 107.

      at lib/Sql.pm line 113.
      Sql::_ANON_(\'DBD::Pg::st execute failed: ERROR: duplicate key value viola...\') called at local/lib/perl5/Try/Tiny.pm line 100
      Try::Tiny::try(\'CODE(0x10295540)\', \'Try::Tiny::Catch=REF(0x102b3ab8)\') called at lib/Sql.pm line 114
      Sql::do(\'Sql=HASH(0xca76050)\', \'UPDATE artist SET comment = ? WHERE id = ?\', \'http://www.veryusartists.com/\', 672286) called at lib/Sql.pm line 171
      Sql::update_row(\'Sql=HASH(0xca76050)\', \'artist\', \'HASH(0x4cc90c8)\', \'HASH(0x102b4340)\') called at lib/MusicBrainz/Server/Data/Artist.pm line 225
      MusicBrainz::Server::Data::Artist::update(\'MusicBrainz::Server::Data::Artist=HASH(0xa3929d8)\', 672286, \'HASH(0x102ab630)\') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 56
      Class::MOP::Method::Wrapped::_ANON_(\'MusicBrainz::Server::Data::Artist=HASH(0xa3929d8)\', 672286, \'HASH(0x102ab630)\') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 91
      MusicBrainz::Server::Data::Artist::update(\'MusicBrainz::Server::Data::Artist=HASH(0xa3929d8)\', 672286, \'HASH(0x102ab630)\') called at lib/MusicBrainz/Server/Edit/Generic/Edit.pm line 69
      MusicBrainz::Server::Edit::Generic::Edit::_ANON_(\'MusicBrainz::Server::Edit::Artist::Edit=HASH(0x102ab870)\') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Moose/Meta/Method/Overridden.pm line 38
      MusicBrainz::Server::Edit::Generic::Edit::accept(\'MusicBrainz::Server::Edit::Artist::Edit=HASH(0x102ab870)\') called at lib/MusicBrainz/Server/Data/Edit.pm line 519
      MusicBrainz::Server::Data::Edit::_ANON_() called at local/lib/perl5/Try/Tiny.pm line 71
      eval

      Unknown macro: {...}

      called at local/lib/perl5/Try/Tiny.pm line 67
      Try::Tiny::try(\'CODE(0x10294e80)\', \'Try::Tiny::Catch=REF(0x102ab9f0)\') called at lib/MusicBrainz/Server/Data/Edit.pm line 545
      MusicBrainz::Server::Data::Edit::_do_accept(\'MusicBrainz::Server::Data::Edit=HASH(0xab21e78)\', \'MusicBrainz::Server::Edit::Artist::Edit=HASH(0x102ab870)\') called at lib/MusicBrainz/Server/Data/Edit.pm line 584
      MusicBrainz::Server::Data::Edit::_ANON_(\'MusicBrainz::Server::Edit::Artist::Edit=HASH(0x102ab870)\') called at lib/MusicBrainz/Server/Data/Edit.pm line 607
      MusicBrainz::Server::Data::Edit::_close(\'MusicBrainz::Server::Data::Edit=HASH(0xab21e78)\', \'MusicBrainz::Server::Edit::Artist::Edit=HASH(0x102ab870)\', \'CODE(0xdb71078)\', \'auto_edit\', 1) called at lib/MusicBrainz/Server/Data/Edit.pm line 584
      MusicBrainz::Server::Data::Edit::accept(\'MusicBrainz::Server::Data::Edit=HASH(0xab21e78)\', \'MusicBrainz::Server::Edit::Artist::Edit=HASH(0x102ab870)\', \'auto_edit\', 1) called at lib/MusicBrainz/Server/Data/Edit.pm line 434
      MusicBrainz::Server::Data::Edit::create(\'MusicBrainz::Server::Data::Edit=HASH(0xab21e78)\', \'editor_id\', 127391, \'privileges\', 1, \'name\', \'The Very Us Artists\', \'begin_date\', \'HASH(0xdcba778)\', ...) called at lib/MusicBrainz/Server/Controller.pm line 85
      MusicBrainz::Server::Controller::_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(0xdb70bb0)\', \'Try::Tiny::Catch=REF(0xdcbab20)\') called at lib/MusicBrainz/Server/Controller.pm line 101
      MusicBrainz::Server::Controller::_insert_edit(\'MusicBrainz::Server::Controller::Artist=HASH(0xbcc5e88)\', \'MusicBrainz::Server=HASH(0xc4fc790)\', \'MusicBrainz::Server::Form::ArtistEdit=HASH(0xcc2eca0)\', \'edit_type\', 2, \'name\', \'The Very Us Artists\', \'sort_name\', \'Very Us Artists, The\', ...) called at lib/MusicBrainz/Server/Controller.pm line 136
      MusicBrainz::Server::Controller::_ANON_() called at lib/Sql.pm line 281
      Sql::_ANON_() called at local/lib/perl5/Try/Tiny.pm line 76
      eval

      Unknown macro: {...}

      called at local/lib/perl5/Try/Tiny.pm line 67
      Try::Tiny::try(\'CODE(0xdcbaa00)\', \'Try::Tiny::Catch=REF(0xdb429f8)\') called at lib/Sql.pm line 294
      Sql::_auto_transaction(\'CODE(0xdcba910)\', \'Sql=HASH(0xca76050)\') called at lib/Sql.pm line 299
      Sql::_run_in_transaction_one(\'CODE(0xdcba910)\', \'Sql=HASH(0xca76050)\') called at lib/Sql.pm line 313
      Sql::run_in_transaction(\'CODE(0xdcba910)\', \'Sql=HASH(0xca76050)\') called at lib/MusicBrainz/Server/Model/MB.pm line 19
      MusicBrainz::Server::Model::MB::with_transaction(\'MusicBrainz::Server::Model::MB=HASH(0xa25def0)\', \'CODE(0xdcba910)\') called at lib/MusicBrainz/Server/Controller.pm line 144
      MusicBrainz::Server::Controller::edit_action(\'MusicBrainz::Server::Controller::Artist=HASH(0xbcc5e88)\', \'MusicBrainz::Server=HASH(0xc4fc790)\', \'form\', \'ArtistEdit\', \'form_args\', \'HASH(0xcc25b08)\', \'type\', 2, \'item\', ...) called at lib/MusicBrainz/Server/Controller/Artist.pm line 490
      MusicBrainz::Server::Controller::Artist::edit(\'MusicBrainz::Server::Controller::Artist=HASH(0xbcc5e88)\', \'MusicBrainz::Server=HASH(0xc4fc790)\') called at lib/MusicBrainz/Server/Controller/Artist.pm line 573
      Class::MOP::Class:::around(\'CODE(0x6959618)\', \'MusicBrainz::Server::Controller::Artist=HASH(0xbcc5e88)\', \'MusicBrainz::Server=HASH(0xc4fc790)\') 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::Controller::Artist=HASH(0xbcc5e88)\', \'MusicBrainz::Server=HASH(0xc4fc790)\') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 91
      MusicBrainz::Server::Controller::Artist::edit(\'MusicBrainz::Server::Controller::Artist=HASH(0xbcc5e88)\', \'MusicBrainz::Server=HASH(0xc4fc790)\') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute(\'Catalyst::Action=HASH(0xc13fd90)\', \'MusicBrainz::Server::Controller::Artist=HASH(0xbcc5e88)\', \'MusicBrainz::Server=HASH(0xc4fc790)\') called at local/lib/perl5/Catalyst.pm line 1672
      eval

      called at local/lib/perl5/Catalyst.pm line 1672
      Catalyst::execute(\'MusicBrainz::Server=HASH(0xc4fc790)\', \'MusicBrainz::Server::Controller::Artist\', \'Catalyst::Action=HASH(0xc13fd90)\') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute(\'MusicBrainz::Server=HASH(0xc4fc790)\', \'MusicBrainz::Server::Controller::Artist\', \'Catalyst::Action=HASH(0xc13fd90)\') called at lib/MusicBrainz/Server.pm line 311
      MusicBrainz::Server::execute(\'MusicBrainz::Server=HASH(0xc4fc790)\', \'MusicBrainz::Server::Controller::Artist\', \'Catalyst::Action=HASH(0xc13fd90)\') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch(\'Catalyst::Action=HASH(0xc13fd90)\', \'MusicBrainz::Server=HASH(0xc4fc790)\') called at local/lib/perl5/Catalyst/ActionChain.pm line 38
      Catalyst::ActionChain::dispatch(\'Catalyst::ActionChain=HASH(0xc9e87c0)\', \'MusicBrainz::Server=HASH(0xc4fc790)\') called at local/lib/perl5/Catalyst/Controller.pm line 158
      Catalyst::Controller::_ACTION(\'MusicBrainz::Server::Controller::Artist=HASH(0xbcc5e88)\', \'MusicBrainz::Server=HASH(0xc4fc790)\') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute(\'Catalyst::Action=HASH(0xc13a178)\', \'MusicBrainz::Server::Controller::Artist=HASH(0xbcc5e88)\', \'MusicBrainz::Server=HASH(0xc4fc790)\') called at local/lib/perl5/Catalyst.pm line 1672
      eval

      Unknown macro: {...}

      called at local/lib/perl5/Catalyst.pm line 1672
      Catalyst::execute(\'MusicBrainz::Server=HASH(0xc4fc790)\', \'MusicBrainz::Server::Controller::Artist\', \'Catalyst::Action=HASH(0xc13a178)\') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute(\'MusicBrainz::Server=HASH(0xc4fc790)\', \'MusicBrainz::Server::Controller::Artist\', \'Catalyst::Action=HASH(0xc13a178)\') called at lib/MusicBrainz/Server.pm line 311
      MusicBrainz::Server::execute(\'MusicBrainz::Server=HASH(0xc4fc790)\', \'MusicBrainz::Server::Controller::Artist\', \'Catalyst::Action=HASH(0xc13a178)\') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch(\'Catalyst::Action=HASH(0xc13a178)\', \'MusicBrainz::Server=HASH(0xc4fc790)\') called at local/lib/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward(\'Catalyst::Dispatcher=HASH(0x3aab708)\', \'forward\', \'MusicBrainz::Server=HASH(0xc4fc790)\', \'_ACTION\') called at local/lib/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward(\'Catalyst::Dispatcher=HASH(0x3aab708)\', \'MusicBrainz::Server=HASH(0xc4fc790)\', \'_ACTION\') called at local/lib/perl5/Catalyst.pm line 362
      Catalyst::forward(\'MusicBrainz::Server=HASH(0xc4fc790)\', \'_ACTION\') called at local/lib/perl5/Catalyst/Controller.pm line 132
      Catalyst::Controller::_DISPATCH(\'MusicBrainz::Server::Controller::Artist=HASH(0xbcc5e88)\', \'MusicBrainz::Server=HASH(0xc4fc790)\') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute(\'Catalyst::Action=HASH(0xc137c60)\', \'MusicBrainz::Server::Controller::Artist=HASH(0xbcc5e88)\', \'MusicBrainz::Server=HASH(0xc4fc790)\') called at local/lib/perl5/Catalyst.pm line 1672
      eval

      called at local/lib/perl5/Catalyst.pm line 1672
      Catalyst::execute(\'MusicBrainz::Server=HASH(0xc4fc790)\', \'MusicBrainz::Server::Controller::Artist\', \'Catalyst::Action=HASH(0xc137c60)\') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute(\'MusicBrainz::Server=HASH(0xc4fc790)\', \'MusicBrainz::Server::Controller::Artist\', \'Catalyst::Action=HASH(0xc137c60)\') called at lib/MusicBrainz/Server.pm line 311
      MusicBrainz::Server::execute(\'MusicBrainz::Server=HASH(0xc4fc790)\', \'MusicBrainz::Server::Controller::Artist\', \'Catalyst::Action=HASH(0xc137c60)\') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch(\'Catalyst::Action=HASH(0xc137c60)\', \'MusicBrainz::Server=HASH(0xc4fc790)\') called at local/lib/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward(\'Catalyst::Dispatcher=HASH(0x3aab708)\', \'forward\', \'MusicBrainz::Server=HASH(0xc4fc790)\', \'/artist/_DISPATCH\') called at local/lib/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward(\'Catalyst::Dispatcher=HASH(0x3aab708)\', \'MusicBrainz::Server=HASH(0xc4fc790)\', \'/artist/_DISPATCH\') called at local/lib/perl5/Catalyst.pm line 362
      Catalyst::forward(\'MusicBrainz::Server=HASH(0xc4fc790)\', \'/artist/_DISPATCH\') called at local/lib/perl5/Catalyst/Dispatcher.pm line 105
      Catalyst::Dispatcher::dispatch(\'Catalyst::Dispatcher=HASH(0x3aab708)\', \'MusicBrainz::Server=HASH(0xc4fc790)\') called at local/lib/perl5/Catalyst.pm line 1618
      Catalyst::dispatch(\'MusicBrainz::Server=HASH(0xc4fc790)\') called at lib/MusicBrainz/Server.pm line 270
      MusicBrainz::Server::_ANON_(\'MusicBrainz::Server=HASH(0xc4fc790)\', \'CODE(0x2d16428)\') called at lib/MusicBrainz/Server.pm line 366
      MusicBrainz::Server::with_translations(\'MusicBrainz::Server=HASH(0xc4fc790)\', \'CODE(0x336a4b0)\', \'CODE(0x2d16428)\') called at lib/MusicBrainz/Server.pm line 277
      Class::MOP::Class:::around(\'CODE(0x2d16428)\', \'MusicBrainz::Server=HASH(0xc4fc790)\') 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(0xc4fc790)\') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 91
      MusicBrainz::Server::dispatch(\'MusicBrainz::Server=HASH(0xc4fc790)\') called at local/lib/perl5/Catalyst.pm line 1968
      Catalyst::_ANON_() called at local/lib/perl5/Try/Tiny.pm line 76
      eval

      Unknown macro: {...}

      called at local/lib/perl5/Try/Tiny.pm line 67
      Try::Tiny::try(\'CODE(0xc7e8208)\', \'Try::Tiny::Catch=REF(0xc383250)\') called at local/lib/perl5/Catalyst.pm line 1974
      Catalyst::handle_request(\'MusicBrainz::Server\', \'env\', \'HASH(0xc690be0)\', \'response_cb\', \'CODE(0xc3f3da0)\') called at local/lib/perl5/Catalyst/Plugin/AutoRestart.pm line 117
      Catalyst::Plugin::AutoRestart::handle_request(\'MusicBrainz::Server\', \'env\', \'HASH(0xc690be0)\', \'response_cb\', \'CODE(0xc3f3da0)\') called at local/lib/perl5/Catalyst/Engine.pm line 688
      Catalyst::Engine::_ANON_(\'CODE(0xc3f3da0)\') called at local/lib/perl5/Plack/Handler/FCGI.pm line 130
      Plack::Handler::FCGI::run(\'Plack::Handler::FCGI=HASH(0x104f9d0)\', \'CODE(0x1f1efc8)\') called at local/lib/perl5/Plack/Loader.pm line 84
      Plack::Loader::run(\'Plack::Loader=HASH(0xf76c90)\', \'Plack::Handler::FCGI=HASH(0x104f9d0)\') called at local/lib/perl5/Plack/Runner.pm line 267
      Plack::Runner::run(\'Plack::Runner=HASH(0xdff808)\') called at local/bin/plackup line 10
      ';
      at lib/MusicBrainz/Server/Controller.pm line 101.
      at lib/Sql.pm line 294."

      Stack trace:

      line 19 MusicBrainz::Server::Model::MB
      line 144 MusicBrainz::Server::Controller
      line 490 MusicBrainz::Server::Controller::Artist
      line 573 MusicBrainz::Server::Controller::Artist
      line 311 MusicBrainz::Server
      line 311 MusicBrainz::Server
      line 311 MusicBrainz::Server
      line 270 MusicBrainz::Server
      line 366 MusicBrainz::Server
      line 277 MusicBrainz::Server

      Request data:

      $VAR1 = {
      'query_parameters' => {},
      'body_parameters' =>

      Unknown macro: { 'edit-artist.edit_note' => '', 'edit-artist.as_auto_editor' => '1', 'edit-artist.period.end_date.month' => '', 'edit-artist.country_id' => '', 'edit-artist.period.end_date.year' => '', 'edit-artist.period.begin_date.year' => '', 'edit-artist.gender_id' => '', 'edit-artist.rename_artist_credit' => '672286', 'edit-artist.ipi_codes.0' => '', 'edit-artist.period.begin_date.month' => '', 'edit-artist.period.end_date.day' => '', 'edit-artist.sort_name' => 'Very Us Artists, The', 'edit-artist.type_id' => '', 'edit-artist.comment' => 'http}

      };

      URL: http://musicbrainz.org/artist/6f82ddb0-3f46-4324-8897-1ef04a0548aa/edit

            warp Kuno Woudt
            salo.rock salo.rock
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package