Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-1678

Picard crashes if result from search server contains non-integer scores

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.2.3
    • Fix Version/s: 2.3.0b1
    • Component/s: Lookup & Match
    • Labels:
      None

      Description

      Looks like custom slave servers of MB.org for some reason return the `score` parameter for search results as strings instead of integers. This currently let's Picard crash when loading an album.

      While it is probably wrong for the servers to return data this way, Picard should be able to handle this case cleanly without crashing.

      See discussion at https://community.metabrainz.org/t/picard-2-1-3-freezes-with-slave-server/422198/6

        Attachments

          Activity

            People

            • Assignee:
              outsidecontext Philipp Wolfer
              Reporter:
              outsidecontext Philipp Wolfer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2.3.0b1