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

WebService Internal error on inc parameter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Bug fixes, 2011-08-08
    • Component/s: Web service
    • Labels:
      None

      Description

      If I request: http://www.musicbrainz.org/ws/2/release/819f7bc4-7c52-4b59-8a88-0822d1e9a45b?inc=recordings+artist-credits+type+release-groups

      I get an error.

      Errors:

      Caught exception in MusicBrainz::Server::Controller::WS::2::Release->root "Unknown inc parameter type at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server/WebService/WebServiceInc.pm line 68."
      Caught exception in MusicBrainz::Server::Controller::WS::2::Release->release "Can't call method "media" on an undefined value at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server/ControllerBase/WS/2.pm line 295."

      Stack trace:

      line 295 MusicBrainz::Server::ControllerBase::WS::2
      line 56 MusicBrainz::Server::Controller::WS::2::Release
      line 148 MusicBrainz::Server::Controller::WS::2::Release
      line 258 MusicBrainz::Server

      Request data:

      $VAR1 = {
      'query_parameters' =>

      { 'inc' => 'recordings artist-credits type release-groups' }

      ,
      'body_parameters' => {}
      };

        Attachments

          Activity

            People

            • Assignee:
              acid2 Oliver Charles
              Reporter:
              Anonymous
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                Bug fixes, 2011-08-08