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

Bulk tag submission doesn't work if the same tag appears in different recordings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2015-07-13
    • None
    • Web service
    • None

      Here is a sample submission that I'm making to the add tag endpoint:

      <ns0:metadata xmlns:ns0="http://musicbrainz.org/ns/mmd-2.0#">
        <ns0:recording-list>
          <ns0:recording ns0:id="64a9bee2-d55e-46ce-97b3-2b0e59382238">
            <ns0:user-tag-list>
              <ns0:user-tag>
                <ns0:name>one</ns0:name>
              </ns0:user-tag>
            </ns0:user-tag-list>
          </ns0:recording>
          <ns0:recording ns0:id="88166f7e-a85d-4c7a-91ec-2f16831b7e79">
            <ns0:user-tag-list>
              <ns0:user-tag>
                <ns0:name>two</ns0:name>
              </ns0:user-tag>
            </ns0:user-tag-list>
          </ns0:recording>
          <ns0:recording ns0:id="c23fdd1d-503d-40b5-981f-a21b95aa4fe5">
            <ns0:user-tag-list>
              <ns0:user-tag>
                <ns0:name>two</ns0:name>
              </ns0:user-tag>
            </ns0:user-tag-list>
          </ns0:recording>
        </ns0:recording-list>
      </ns0:metadata>
      

      64a9bee2-d55e-46ce-97b3-2b0e59382238 has correctly got the tag 'one', however the tag 'two' is only present on c23fdd1d-503d-40b5-981f-a21b95aa4fe5, that is, it appears to be the last item in the list with this tag.

            bitmap Michael Wiencek
            alastairp Alastair Porter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2015-07-13