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

'count' attribute not present for some lists

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Web service
    • Labels:
      None

      Description

      The 'count' attribute is not present in the web service response for iso-3166-1-code-list.

      e.g, see the response to this request.

       

      According to bitmap, it is also not present for track-list (sometimes), language-list, iswc-list, secondary-type-list, tag-list, relation-list.

      libmusicbrainz parses this attribute, and makes it available to clients. If the attribute is not present in the web service response, the returned value is '0', which incorrectly suggests that no elements were returned.

      For consistency, it would be better if all 'list' elements included the count attribute.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              adhawkins Andy Hawkins
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package