Uploaded image for project: 'CritiqueBrainz'
  1. CritiqueBrainz
  2. CB-365

Search page on write a review page links to Work for artist search

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • v-2020-10-09.0
    • None
    • None
    • None

      on the page http://localhost/search/selector?artist=queen&next=%2Freview%2Fwrite&type=artist

      This performs a search for artists, and shows a form that lets you select an artist and click continue.

      This takes you to a page http://localhost/review/write?work=420ca290-76c5-41af-999e-564d7c71f1a7, note that the query parameter is 'work' even though we were search for artists.

      This results in an http 500 error: brainzutils.musicbrainz_db.exceptions.NoDataFoundException: Couldn't find entities with IDs: ['420ca290-76c5-41af-999e-564d7c71f1a7'], as it's looking in the wrong table

            kartik1712 amCap1712
            alastairp Alastair Porter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package
                v-2020-10-09.0