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

on ws/2 if do lokup for nonexistent resource it just returns nothing, should give error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: NGS - Beta 2
    • Fix Version/s: NGS - Beta 3
    • Component/s: Web service
    • Labels:
      None

      Description

      I accidently looked up this release, but actually the guid is a release-group
      http://test.musicbrainz.org/ws/2/release/cbf7472a-725d-3904-b0c4-2a73e4a8dfa2

      It just returns nothing at all, it should either return an error similar to the current musicbrainz server

      http://musicbrainz.org/ws/1/release/cbf7472a-725d-3904-b0c4-2a73e4a8dfa2?type=xml

      or an empty list such as:

      <?xml version="1.0" encoding="UTF-8"?>
      <metadata xmlns="http://musicbrainz.org/ns/mmd-2.0#">
      </metadata

        Attachments

          Activity

            People

            Assignee:
            warp Kuno Woudt
            Reporter:
            ijabz Paul Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                NGS - Beta 3