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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2014-10-13
    • None
    • Web service
    • None

      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

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

              Created:
              Updated:
              Resolved:

                Version Package
                2014-10-13