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

JSON web service ISE with inc=aliases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2013-09-02
    • None
    • Web service
    • None

      Error:
      
      Caught exception in MusicBrainz::Server::Controller::WS::2::Artist->artist "Can't call method "store" on an undefined value at lib/MusicBrainz/Server/WebService/Serializer/JSON/2/Role/Aliases.pm line 12."
      Stack trace:
      line 12 MusicBrainz::Server::WebService::Serializer::JSON::2::Role::Aliases
      line 8 MusicBrainz::Server::WebService::Serializer::JSON::2::Role::Annotation
      line 6 MusicBrainz::Server::WebService::Serializer::JSON::2::Role::GID
      line 8 MusicBrainz::Server::WebService::Serializer::JSON::2::Role::IPIs
      line 17 MusicBrainz::Server::WebService::Serializer::JSON::2::Role::LifeSpan
      line 7 MusicBrainz::Server::WebService::Serializer::JSON::2::Role::Rating
      line 12 MusicBrainz::Server::WebService::Serializer::JSON::2::Role::Relationships
      line 7 MusicBrainz::Server::WebService::Serializer::JSON::2::Role::Tags
      line 82 MusicBrainz::Server::WebService::Serializer::JSON::2::Utils
      line 22 MusicBrainz::Server::WebService::Serializer::JSON::2::Relationship
      line 82 MusicBrainz::Server::WebService::Serializer::JSON::2::Utils
      line 16 MusicBrainz::Server::WebService::Serializer::JSON::2::Role::Relationships
      line 7 MusicBrainz::Server::WebService::Serializer::JSON::2::Role::Tags
      line 82 MusicBrainz::Server::WebService::Serializer::JSON::2::Utils
      line 24 MusicBrainz::Server::WebService::JSONSerializer
      line 57 MusicBrainz::Server::Controller::WS::2::Artist
      line 330 MusicBrainz::Server
      line 304 MusicBrainz::Server
      line 331 MusicBrainz::Server
      line 345 MusicBrainz::Server
      line 390 MusicBrainz::Server
      Request data:
      
      $VAR1 = {
                'query_parameters' => {
                                        'inc' => 'aliases url-rels artist-rels releases',
                                        'fmt' => 'json'
                                      },
                'body_parameters' => {}
              };
                  
      Host: corax
      
      Interface language: en
      
      URL: http://corax:3000/ws/2/artist/f5cb5cd8-b89b-44b8-b7ef-08a9269c0952?fmt=json&inc=aliases+url-rels+artist-rels+releases
      

      Bisection demonstrates this was caused by commit 937b845ccbf66d2c717bbf31c457ef984016178b

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

              Created:
              Updated:
              Resolved:

                Version Package
                2013-09-02