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

CD stub search fails with error on prod & beta

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • None
    • None
    • Search
    • None

      Steps to reproduce:

      1. Add a medium to: https://musicbrainz.org/release/5b4bdfcf-6df1-4e48-bc5f-75b25fb467b8/edit

      2. Select "CD stub import" and click on search

      3. Error message hidden in some nice HTML code:

      https://pastebin.com/1nBuD8LZ

       

       

          [MBS-10258] CD stub search fails with error on prod & beta

          yvanzo added a comment -

          Thanks to bitmap for spotting inconsistent deployment MB Solr v3.1, I fixed it in our Solr cloud, thus solving SOLR-114 and this ticket.

          yvanzo added a comment - Thanks to bitmap for spotting inconsistent deployment MB Solr v3.1, I fixed it in our Solr cloud, thus solving SOLR-114 and this ticket.

          yvanzo added a comment -

          yvanzo added a comment - Current search server bug SOLR-114 should be worked around by fixing JSON ahead of https://github.com/metabrainz/musicbrainz-server/blob/v-2019-06-30/lib/MusicBrainz/Server/Data/Search.pm#L813

          yvanzo added a comment -

          It is likely happening in MB Solr query writer, its tests are outdated at least.

          yvanzo added a comment - It is likely happening in MB Solr query writer, its tests are outdated at least.

          yvanzo added a comment -

          Source bug is JSON WS 2 CD stub search returns disambiguation as a string array instead of a single string (like in a lookup).
          Note that XML WS 2 CD stub search is bugged too as it returns a ns0:disambiguation tag (with xmlns:ns0="http://musicbrainz.org/ns/mmd-2.0#" attribute) instead of a simple disambiguation tag (like in a lookup).

          yvanzo added a comment - Source bug is JSON WS 2 CD stub search returns disambiguation as a string array instead of a single string (like in a lookup ). Note that XML WS 2 CD stub search is bugged too as it returns a ns0:disambiguation tag (with xmlns:ns0="http://musicbrainz.org/ns/mmd-2.0#" attribute) instead of a simple disambiguation tag (like in a lookup ).

          yvanzo added a comment -

          It is a regression caused by search query implementation of MBS-8980.

          yvanzo added a comment - It is a regression caused by search query implementation of MBS-8980 .

            yvanzo yvanzo
            sothotalker Sotho Tal Ker
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package