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

Internal server error requesting a non-existent collection via the webservice

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2013-12-23
    • None
    • None
    • None

      If the UUID does not actually belong to a collection, it crashes.

      Error:

      Caught exception in MusicBrainz::Server::Controller::WS::2::Collection->releases_get "Can't call method "public" on an undefined value at lib/MusicBrainz/Server/Controller/WS/2/Collection.pm line 45."

      Stack trace:
      line 45 MusicBrainz::Server::Controller::WS::2::Collection
      line 304 MusicBrainz::Server
      line 296 MusicBrainz::Server
      line 305 MusicBrainz::Server
      line 318 MusicBrainz::Server
      line 363 MusicBrainz::Server

      Request data:
      $VAR1 = {
      'query_parameters' => {},
      'body_parameters' => {}
      };

      Host: astro

      URL: https://musicbrainz.org/ws/2/collection/05bcde08-31c8-4fae-a249-330ed3d1c866/releases

            ianmcorvidae Ian McEwen
            nikki nikki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2013-12-23