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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2015-07-13
    • Component/s: Web service
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Due:
              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2015-07-13