Uploaded image for project: 'MusicBrainz Search Server'
  1. MusicBrainz Search Server
  2. SEARCH-611

Incorrect content in JSON version of release group search result

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None
    • None

      Example Query:

      The XML version looks fine at first glance.

      However, the JSON version has issues.

      1. There is a spurious 'count' field in the release group.
        This seems to come from the list of releases (in a lookup including releases, this field is not deserialized at all)
      2. The 'primary-type-id' field is missing
      3. The 'secondary-type-ids' field is missing
      4. A spurious 'type-id' field is present
        This seems to contain the first secondary type id if one is set, or the primary type id if not.
        Either way, information is definitely lost here.

      This is not a case of the data not having been retained in the index - the XML result includes all type ids correctly.

            kartik1712 amCap1712
            zastai Tim Van Holder
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package