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

Internal server error when trying to include ratings for places in the webservice

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2014-10-13
    • Component/s: Web service
    • Labels:
      None

      Description

      See https://musicbrainz.org/ws/2/place/be5316c3-abd8-4e36-b202-b7a53ba05b64?inc=ratings

      Places don't have ratings, so this should presumably display the normal error about invalid inc parameters instead.

      Error:

      Caught exception in MusicBrainz::Server::Controller::WS::2::Place->place "Can't locate object method "load_meta" via package "MusicBrainz::Server::Data::Place" at lib/MusicBrainz/Server/ControllerBase/WS/2.pm line 261."

      Stack trace:
      line 261 MusicBrainz::Server::ControllerBase::WS::2
      line 214 MusicBrainz::Server::ControllerBase::WS::2
      line 375 MusicBrainz::Server::ControllerBase::WS::2
      line 49 MusicBrainz::Server::Controller::WS::2::Place
      line 70 MusicBrainz::Server::Controller::WS::2::Place
      line 335 MusicBrainz::Server
      line 309 MusicBrainz::Server
      line 336 MusicBrainz::Server
      line 350 MusicBrainz::Server
      line 395 MusicBrainz::Server

      Request data:
      $VAR1 = {
      'query_parameters' =>

      Unknown macro: { 'inc' => 'ratings' }

      ,
      'body_parameters' => {}
      };

      Time: 2014-09-24 08:22:23 UTC

      Host: astro

      URL: https://musicbrainz.org/ws/2/place/be5316c3-abd8-4e36-b202-b7a53ba05b64?inc=ratings

        Attachments

          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
                2014-10-13