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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2013-12-23
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Due:
                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  2013-12-23