Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1660

Regression : Error code mismatch in while GETing a type that doesn't exist.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 0.8.1, 1.0.0
    • atlas-core
    • None

    Description

      Querying for a type that doesn't exist results in 400 [Bad Request] . It should be 404 [Not Found] .

      Both V1 and V2 APIs return 400 .

      /api/atlas/types/unknowntype
      /api/atlas/v2/types/typedef/name/unknowntype
      

      Attachments

        1. ATLAS-1660.1.patch
          1 kB
          Sarath Subramanian

        Activity

          People

            sarath Sarath Subramanian
            sharmadhas Sharmadha S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: