|
Internal Server Error
Oops, something went wrong!
Error:
Caught exception in MusicBrainz::Server::Controller::Edit::Relationship->create "Date::Calc::PP::Delta_Days(): Date::Calc::Delta_Days(): not a valid date at lib/MusicBrainz/Server/Form/Role/DatePeriod.pm line 36"
Stack trace:
line 36 MusicBrainz::Server::Form::Role::DatePeriod
line 13 MusicBrainz::Server::Form
line 360 MusicBrainz::Server::Controller::Edit::Relationship
line 306 MusicBrainz::Server
line 306 MusicBrainz::Server
line 306 MusicBrainz::Server
line 270 MusicBrainz::Server
Request data:
$VAR1 = {
'query_parameters' => {
'returnto' => 'http://beta.musicbrainz.org/recording/ea4d5d9f-7a7b-4ce3-b07d-88b8f518efb2#relate_to',
'type1' => 'artist',
'entity1' => '979d01bc-a4da-4c80-8cc1-be40bd35cd5e',
'entity0' => 'ea4d5d9f-7a7b-4ce3-b07d-88b8f518efb2',
'type0' => 'recording'
},
'body_parameters' => {
'ar.edit_note' => 'This should break with an ISE.',
'ar.end_date.month' => '11',
'ar.link_type_id' => '156',
'ar.begin_date.year' => '1991',
'ar.begin_date.month' => '11',
'ar.end_date.day' => '31',
'ar.begin_date.day' => '31',
'ar.end_date.year' => '1991'
}
};
URL: http://beta.musicbrainz.org/edit/relationship/create?type0=recording&type1=artist&entity0=ea4d5d9f-7a7b-4ce3-b07d-88b8f518efb2&entity1=979d01bc-a4da-4c80-8cc1-be40bd35cd5e&returnto=http%3A%2F%2Fbeta.musicbrainz.org%2Frecording%2Fea4d5d9f-7a7b-4ce3-b07d-88b8f518efb2%23relate_to
This seems to only be a problem with the end date; when I only put it into the begin date it correctly returned an 'invalid date' error. Also works fine if there's only an end date, though. ianmcorvidae/mbs-4385-invalid-date-ISE is now in beta. |
||||||||||||||||||||||||||||||||||
To fix this, it'd be nice to have the actual error pasted somewhere (so it's possible to know where exactly this is failing); if I get to looking at this I'll try to reproduce it myself, but if someone comes by and pastes one first it'd be much appreciated.