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

JSON web service doesn't distinguish between relationships not existing vs. not being loaded

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2016-01-25
    • Component/s: Web service
    • Labels:
      None

      Description

      e.g. in https://musicbrainz.org/ws/2/release-group/2d340d43-a128-42c9-8bba-c92f26fc41be?fmt=json&inc=artist-rels+url-rels

      The target entity objects there have "relations": [] outputted, but that doesn't mean there are no relations, it's just that they're not even loaded (or intended to be).

      For top-level entities that /actually/ have no relationships, we output the same thing, and it means something different.

        Attachments

          Activity

            People

            • Assignee:
              bitmap Michael Wiencek
              Reporter:
              bitmap Michael Wiencek
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2016-01-25