Issue Details (XML | Word | Printable)

Key: MBS-4500
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Oliver Charles
Reporter: Pavan Chander
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MusicBrainz Server

ISE: 'Can't call method "is_auto_editor"' when attaching a TOC

Created: 29/Mar/12 01:31 PM   Updated: 30/Mar/12 02:06 PM   Resolved: 30/Mar/12 02:06 PM
Component/s: CD support
Affects Version/s: Bug fixes, 2012-03-12
Fix Version/s: Bug fixes, 2012-04-10


 Description  « Hide

Trying to attach a CD TOC when not logged in results in an ISE:

Error:
Caught exception in MusicBrainz::Server::Controller::CDTOC->attach "Can't call method "is_auto_editor" on an undefined value at lib/MusicBrainz/Server/Form/Role/Edit.pm line 18."

Stack trace:
line 18 MusicBrainz::Server::Form::Role::Edit
line 227 MusicBrainz::Server
line 126 MusicBrainz::Server::Controller
line 184 MusicBrainz::Server::Controller::CDTOC
line 316 MusicBrainz::Server
line 316 MusicBrainz::Server
line 316 MusicBrainz::Server
line 280 MusicBrainz::Server

Request data:

$VAR1 = {
'query_parameters' => { 'artist' => '2062', 'medium' => '1081883', 'toc' => '1 13 341054 150 62746 81823 99207 118312 145494 165423 191474 210798 228499 251443 276992 308848' },
'body_parameters' => {}
};

URL: http://musicbrainz.org/cdtoc/attach?toc=1+13+341054+150+62746+81823+99207+118312+145494+165423+191474+210798+228499+251443+276992+308848&artist=2062&medium=1081883



Sort Order: Ascending order - Click to sort in descending order
Oliver Charles added a comment - 30/Mar/12 02:06 PM

I'm not sure how you got to that URL, but I've added a check in b47f077.