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

BC date rejected: year out of range

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Edit system
    • Labels:
      None

      Description

      Internal server error on https://musicbrainz.org/artist/0c659e4c-1e77-491e-85f9-81f0e613657a/edit
      Referrer: https://musicbrainz.org/artist/0c659e4c-1e77-491e-85f9-81f0e613657a/edit

       

      Error:

       

      Caught exception in MusicBrainz::Server::Controller::Artist->edit "Date::Calc::PP::Days_in_Month(): Date::Calc::Days_in_Month(): year out of range at lib/MusicBrainz/Server/Form/Field/DatePeriod.pm line 50"

       

       

      Stack trace:

      • line

       

      Time: 2020-01-31 05:51:44 UTC

      Host: e9209bb2919c

      Interface language: en

      URL: https://musicbrainz.org/artist/0c659e4c-1e77-491e-85f9-81f0e613657a/edit

      Request data:

      $VAR1 = {
                'query_parameters' => {},
                'body_parameters' => {
                                       'edit-artist.type_id' => '1',
                                       'edit-artist.rel.0.period.begin_date.year' => '',
                                       'edit-artist.period.ended' => '1',
                                       'edit-artist.end_area.gid' => '',
                                       'edit-artist.ipi_codes.0' => '',
                                       'edit-artist.period.end_date.month' => '',
                                       'edit-artist.gender_id' => '1',
                                       'edit-artist.rel.0.link_type_id' => '167',
                                       'edit-artist.sort_name' => 'Sima, Xiangru',
                                       'edit-artist.url.12.text' => 'https://www.wikidata.org/wiki/Q559740',
                                       'edit-artist.begin_area_id' => '',
                                       'edit-artist.rel.0.entity0_credit' => '',
                                       'edit-artist.period.begin_date.day' => '',
                                       'edit-artist.period.begin_date.year' => '-0179',
                                       'edit-artist.end_area_id' => '',
                                       'edit-artist.area.gid' => '7c81bb69-a99b-3487-b6d4-0f76d7a29ca0',
                                       'edit-artist.url.12.link_type_id' => '352',
                                       'edit-artist.isni_codes.0' => '',
                                       'edit-artist.begin_area.gid' => '',
                                       'edit-artist.rel.0.entity1_credit' => '',
                                       'edit-artist.begin_area.name' => '',
                                       'edit-artist.period.end_date.year' => '-0127',
                                       'edit-artist.rel.0.period.begin_date.day' => '',
                                       'edit-artist.rel.0.period.end_date.day' => '',
                                       'edit-artist.rel.0.period.ended' => '0',
                                       'edit-artist.url.11.text' => 'https://en.wikipedia.org/wiki/Sima_Xiangru',
                                       'edit-artist.edit_note' => '',
                                       'edit-artist.area.name' => 'China',
                                       'edit-artist.rel.0.target' => 'ac339ded-093b-4875-946e-f711b08099b9',
                                       'edit-artist.name' => "\x{53f8}\x{9a6c}\x{76f8}\x{5982}",
                                       'edit-artist.end_area.name' => '',
                                       'edit-artist.rel.0.period.end_date.year' => '',
                                       'edit-artist.comment' => '',
                                       'edit-artist.url.11.link_type_id' => '179',
                                       'edit-artist.period.end_date.day' => '',
                                       'edit-artist.url.11.relationship_id' => '938727',
                                       'edit-artist.period.begin_date.month' => '',
                                       'edit-artist.url.12.relationship_id' => '938728',
                                       'edit-artist.rel.0.period.begin_date.month' => '',
                                       'edit-artist.rel.0.period.end_date.month' => '',
                                       'edit-artist.area_id' => '44'
                                     }
              };
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                xslidian Dian LI
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package