-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
None
-
None
This was reported to support@ - it might well be a dupe, please close if it is.
Caught exception in MusicBrainz::Server::Controller::ReleaseEditor::Add->add "DBD::Pg::st execute failed: ERROR: duplicate key value violates unique constraint "artist_idx_uniq_name_comment"
DETAIL: Key (name, comment)=(1461236, ) already exists. at lib/Sql.pm line 414, line 25.
at lib/Sql.pm line 429, line 25.
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(0xfb782f8)', 'Try::Tiny::Catch=REF(0x10821098)') called at lib/Sql.pm line 430
Sql::_select_list('Sql=HASH(0xd03eb98)', 'INSERT INTO artist (comment,name,sort_name,gid) VALUES (?,?,?...', 'ARRAY(0x48aabd8)', 'arrayref', 'CODE(0x48aac50)') called at lib/Sql.pm line 449
Sql::select_list_of_lists('Sql=HASH(0xd03eb98)', 'INSERT INTO artist (comment,name,sort_name,gid) VALUES (?,?,?...', '', 1461236, 1461237, '0023d47a-8a33-4a53-accc-3a3b61ec8b33') called at lib/Sql.pm line 382
Sql::select_single_column_array('Sql=HASH(0xd03eb98)', 'INSERT INTO artist (comment,name,sort_name,gid) VALUES (?,?,?...', '', 1461236, 1461237, '0023d47a-8a33-4a53-accc-3a3b61ec8b33') called at lib/Sql.pm line 397
Sql::select_single_value('Sql=HASH(0xd03eb98)', 'INSERT INTO artist (comment,name,sort_name,gid) VALUES (?,?,?...', '', 1461236, 1461237, '0023d47a-8a33-4a53-accc-3a3b61ec8b33') called at lib/Sql.pm line 150
Sql::insert_row('Sql=HASH(0xd03eb98)', 'artist', 'HASH(0x4957660)', 'id') called at lib/MusicBrainz/Server/Data/Artist.pm line 214
MusicBrainz::Server::Data::Artist::insert('MusicBrainz::Server::Data::Artist=HASH(0xa4baea8)', 'HASH(0x10810518)') called at lib/MusicBrainz/Server/Edit/Generic/Create.pm line 45
MusicBrainz::Server::Edit::Generic::Create::insert('MusicBrainz::Server::Edit::Artist::Create=HASH(0xe1821c0)') 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::Edit::Artist::Create=HASH(0xe1821c0)') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 91
MusicBrainz::Server::Edit::Artist::Create::insert('MusicBrainz::Server::Edit::Artist::Create=HASH(0xe1821c0)') called at lib/MusicBrainz/Server/Data/Edit.pm line 433
MusicBrainz::Server::Data::Edit::create('MusicBrainz::Server::Data::Edit=HASH(0xaa0e970)', 'edit_type', 1, 'editor_id', 734428, 'privileges', 0, 'comment', '', ...) called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 1326
MusicBrainz::Server::Wizard::ReleaseEditor::_ANON_('edit_type', 1, 'editor_id', 734428, 'privileges', 0, 'comment', '', 'name', ...) called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 1353
MusicBrainz::Server::Wizard::ReleaseEditor::_ANON_() called at local/lib/perl5/Try/Tiny.pm line 76
eval
Try::Tiny::try('CODE(0xe1847d0)', 'Try::Tiny::Catch=REF(0xe0eb280)') called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 1362
MusicBrainz::Server::Wizard::ReleaseEditor::_create_edit('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd364e40)', 'CODE(0xe184410)', 1, 734428, 'privileges', 0, 'comment', '', 'name', ...) called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 1327
MusicBrainz::Server::Wizard::ReleaseEditor::_submit_edit('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd364e40)', 1, 'http://www.thefabulousreddiesel.com', 'as_auto_editor', 0, 'name', 'The Fabulous Red Diesel', 'sort_name', 'Fabulous Red Diesel, The', ...) called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 864
MusicBrainz::Server::Wizard::ReleaseEditor::_ANON_(1, 'http://www.thefabulousreddiesel.com', 'as_auto_editor', 0, 'name', 'The Fabulous Red Diesel', 'sort_name', 'Fabulous Red Diesel, The', 'comment', ...) called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 1017
MusicBrainz::Server::Wizard::ReleaseEditor::_edit_missing_entities('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd364e40)', 'edit_note', 'http://www.thefabulousreddiesel.com', 'data', 'HASH(0xe182010)', 'create_edit', 'CODE(0xe0da350)', 'previewing', '', ...) called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 920
MusicBrainz::Server::Wizard::ReleaseEditor::create_edits('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd364e40)', 'data', 'HASH(0xe182010)', 'create_edit', 'CODE(0xe0da350)', 'edit_note', 'http://www.thefabulousreddiesel.com', 'previewing', '', ...) called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Moose/Meta/Method/Augmented.pm line 48
MusicBrainz::Server::Wizard::ReleaseEditor::Add::create_edits('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd364e40)', 'data', 'HASH(0xe182010)', 'create_edit', 'CODE(0xe0da350)', 'edit_note', 'http://www.thefabulousreddiesel.com', 'previewing', '', ...) 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::Wizard::ReleaseEditor::Add=HASH(0xd364e40)', 'data', 'HASH(0xe182010)', 'create_edit', 'CODE(0xe0da350)', 'edit_note', 'http://www.thefabulousreddiesel.com', 'previewing', '', ...) called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 91
MusicBrainz::Server::Wizard::ReleaseEditor::Add::create_edits('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd364e40)', 'data', 'HASH(0xe182010)', 'create_edit', 'CODE(0xe0da350)', 'edit_note', 'http://www.thefabulousreddiesel.com', 'previewing', '', ...) called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 865
MusicBrainz::Server::Wizard::ReleaseEditor::prepare_edits('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd364e40)') called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 95
MusicBrainz::Server::Wizard::ReleaseEditor::run('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd364e40)') called at lib/MusicBrainz/Server/Controller/ReleaseEditor/Add.pm line 23
MusicBrainz::Server::Controller::ReleaseEditor::Add::add('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xbc...', 'MusicBrainz::Server=HASH(0xcb59c90)') called at local/lib/perl5/Catalyst/Action.pm line 65
Catalyst::Action::execute('Catalyst::Action=HASH(0xbf8c288)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xbc...', 'MusicBrainz::Server=HASH(0xcb59c90)') called at local/lib/perl5/Catalyst.pm line 1672
eval {...}
called at local/lib/perl5/Catalyst.pm line 1672
Catalyst::execute('MusicBrainz::Server=HASH(0xcb59c90)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbf8c288)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xcb59c90)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbf8c288)') called at local/lib/perl5/Catalyst/Action.pm line 60
Catalyst::Action::dispatch('Catalyst::Action=HASH(0xbf8c288)', 'MusicBrainz::Server=HASH(0xcb59c90)') called at local/lib/perl5/Catalyst/Controller.pm line 158
Catalyst::Controller::_ACTION('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xbc...', 'MusicBrainz::Server=HASH(0xcb59c90)') called at local/lib/perl5/Catalyst/Action.pm line 65
Catalyst::Action::execute('Catalyst::Action=HASH(0xbe300a0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xbc...', 'MusicBrainz::Server=HASH(0xcb59c90)') called at local/lib/perl5/Catalyst.pm line 1672
eval
Catalyst::execute('MusicBrainz::Server=HASH(0xcb59c90)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbe300a0)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xcb59c90)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbe300a0)') called at local/lib/perl5/Catalyst/Action.pm line 60
Catalyst::Action::dispatch('Catalyst::Action=HASH(0xbe300a0)', 'MusicBrainz::Server=HASH(0xcb59c90)') called at local/lib/perl5/Catalyst/Dispatcher.pm line 257
Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x384c9d0)', 'forward', 'MusicBrainz::Server=HASH(0xcb59c90)', '_ACTION') called at local/lib/perl5/Catalyst/Dispatcher.pm line 237
Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x384c9d0)', 'MusicBrainz::Server=HASH(0xcb59c90)', '_ACTION') called at local/lib/perl5/Catalyst.pm line 362
Catalyst::forward('MusicBrainz::Server=HASH(0xcb59c90)', '_ACTION') called at local/lib/perl5/Catalyst/Controller.pm line 132
Catalyst::Controller::_DISPATCH('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xbc...', 'MusicBrainz::Server=HASH(0xcb59c90)') called at local/lib/perl5/Catalyst/Action.pm line 65
Catalyst::Action::execute('Catalyst::Action=HASH(0xbf9d7a0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xbc...', 'MusicBrainz::Server=HASH(0xcb59c90)') called at local/lib/perl5/Catalyst.pm line 1672
eval {...}
called at local/lib/perl5/Catalyst.pm line 1672
Catalyst::execute('MusicBrainz::Server=HASH(0xcb59c90)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbf9d7a0)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xcb59c90)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbf9d7a0)') called at local/lib/perl5/Catalyst/Action.pm line 60
Catalyst::Action::dispatch('Catalyst::Action=HASH(0xbf9d7a0)', 'MusicBrainz::Server=HASH(0xcb59c90)') called at local/lib/perl5/Catalyst/Dispatcher.pm line 257
Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x384c9d0)', 'forward', 'MusicBrainz::Server=HASH(0xcb59c90)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst/Dispatcher.pm line 237
Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x384c9d0)', 'MusicBrainz::Server=HASH(0xcb59c90)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst.pm line 362
Catalyst::forward('MusicBrainz::Server=HASH(0xcb59c90)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst/Dispatcher.pm line 105
Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x384c9d0)', 'MusicBrainz::Server=HASH(0xcb59c90)') called at local/lib/perl5/Catalyst.pm line 1618
Catalyst::dispatch('MusicBrainz::Server=HASH(0xcb59c90)') called at lib/MusicBrainz/Server.pm line 326
MusicBrainz::Server::_ANON_() called at lib/MusicBrainz/Server.pm line 300
MusicBrainz::Server::with_translations('MusicBrainz::Server=HASH(0xcb59c90)', 'CODE(0xd7eccc0)') called at lib/MusicBrainz/Server.pm line 327
Class::MOP::Class:::around('CODE(0x2c46de8)', 'MusicBrainz::Server=HASH(0xcb59c90)') 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(0xcb59c90)') called at lib/MusicBrainz/Server.pm line 341
Class::MOP::Class:::around('CODE(0xc18b4c8)', 'MusicBrainz::Server=HASH(0xcb59c90)') 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(0xcb59c90)') called at lib/MusicBrainz/Server.pm line 386
Class::MOP::Class:::around('CODE(0xc19bc68)', 'MusicBrainz::Server=HASH(0xcb59c90)') 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(0xcb59c90)') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 35
Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xcb59c90)') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 91
MusicBrainz::Server::dispatch('MusicBrainz::Server=HASH(0xcb59c90)') called at local/lib/perl5/Catalyst.pm line 1968
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(0xd367ab8)', 'Try::Tiny::Catch=REF(0xd869b70)') called at local/lib/perl5/Catalyst.pm line 1974
Catalyst::handle_request('MusicBrainz::Server', 'env', 'HASH(0xcce4828)', 'response_cb', 'CODE(0xc2453f8)') called at local/lib/perl5/Catalyst/Plugin/AutoRestart.pm line 117
Catalyst::Plugin::AutoRestart::handle_request('MusicBrainz::Server', 'env', 'HASH(0xcce4828)', 'response_cb', 'CODE(0xc2453f8)') called at local/lib/perl5/Catalyst/Engine.pm line 688
Catalyst::Engine::_ANON_('CODE(0xc2453f8)') called at local/lib/perl5/Plack/Handler/FCGI.pm line 130
Plack::Handler::FCGI::run('Plack::Handler::FCGI=HASH(0xb7da28)', 'CODE(0xc1bb5d8)') called at local/lib/perl5/Plack/Loader.pm line 84
Plack::Loader::run('Plack::Loader=HASH(0xaa4de8)', 'Plack::Handler::FCGI=HASH(0xb7da28)') called at local/lib/perl5/Plack/Runner.pm line 267
Plack::Runner::run('Plack::Runner=HASH(0x92d850)') called at local/bin/plackup line 10"
Stack trace:
line 1361 MusicBrainz::Server::Wizard::ReleaseEditor
line 1362 MusicBrainz::Server::Wizard::ReleaseEditor
line 1327 MusicBrainz::Server::Wizard::ReleaseEditor
line 864 MusicBrainz::Server::Wizard::ReleaseEditor
line 1017 MusicBrainz::Server::Wizard::ReleaseEditor
line 920 MusicBrainz::Server::Wizard::ReleaseEditor
line 865 MusicBrainz::Server::Wizard::ReleaseEditor
line 95 MusicBrainz::Server::Wizard::ReleaseEditor
line 23 MusicBrainz::Server::Controller::ReleaseEditor::Add
line 326 MusicBrainz::Server
line 300 MusicBrainz::Server
line 327 MusicBrainz::Server
line 341 MusicBrainz::Server
line 386 MusicBrainz::Server
Request data:
$VAR1 = {
'query_parameters' => {},
'body_parameters' =>
};
Host: asterix
URL: http://musicbrainz.org/release/add
- duplicates
-
MBS-6064 Internal server error when adding new artist in the release editor with same name/comment as existing artist
- Closed