-
Bug
-
Resolution: Cannot Reproduce
-
Normal
-
NGS - Beta 3
-
None
-
None
Adding a release causes an error page to be displayed:
Caught exception in MusicBrainz::Server::Controller::ReleaseEditor::Add->add "Not an ARRAY reference at /home/mbserver/musicbrainz/mb_server-next/script/../lib/MusicBrainz/Server/Edit/Utils.pm line 88."
Trying again, could not reproduce.
----- Stack Trace -----
Package Line File
MusicBrainz::Server::Edit::Utils 88 /home/mbserver/musicbrainz/mb_server-next/lib/MusicBrainz/Server/Edit/Utils.pm
85:
86: # Remove empty artist credits.
87: my @delete;
88: my $max = scalar @
- 1;
89: for (0..$max)
90: {
91: my $part = $ac->[$_];
MusicBrainz::Server::ControllerBase::ReleaseEditor 676 /home/mbserver/musicbrainz/mb_server-next/lib/MusicBrainz/Server/ControllerBase/ReleaseEditor.pm
673: my ($self, $data) = @_;
674: my $json = JSON::Any->new(utf8 => 1);
675: return
676: grep { !$_->
} grep
{ ref($_) }677: map { @
{ clean_submitted_artist_credits($_) } }
678: (
679: # Artist credit for the release itself
MusicBrainz::Server::ControllerBase::ReleaseEditor 647 /home/mbserver/musicbrainz/mb_server-next/lib/MusicBrainz/Server/ControllerBase/ReleaseEditor.pm
644: {
645: my ($self, $c, $wizard) = @_;
646:
647: my @credits = map +{
648: for => $_->
649: name => $_->{name}
,
650: }, $self->_misssing_artist_credits($wizard->value);
MusicBrainz::Server::ControllerBase::ReleaseEditor 441 /home/mbserver/musicbrainz/mb_server-next/lib/MusicBrainz/Server/ControllerBase/ReleaseEditor.pm
438: );
439: $wizard->process;
440:
441: if ($wizard->cancelled)
444: elsif ($wizard->current_page eq 'recordings') {
MusicBrainz::Server::Controller::ReleaseEditor::Add 13 /home/mbserver/musicbrainz/mb_server-next/lib/MusicBrainz/Server/Controller/ReleaseEditor/Add.pm
10: sub add : Path('/release/add') Edit RequireAuth
11:
15:
16: sub cancelled
;
204:
205: sub gettext