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

Difference in result of POSTing Structs to V1 APIs and V2 APIs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.8-incubating
    • 0.8.1, 1.0.0
    • atlas-core
    • None

    Description

      Created a struct without attribute definitions.
      1. POSTing it to V1 APIs threw 400 Bad Request with exception

      Caused by: java.lang.IllegalArgumentException: Collection Attribute definitions is empty
      

      2. POSTing it to V2 APIs throws the above exception but struct is created successfully.

      Attachments

        1. struct_V1_API_400_Bad_Req.txt
          21 kB
          Sharmadha S
        2. struct_V2_API_200_OK.txt
          20 kB
          Sharmadha S

        Activity

          People

            apoorvnaik Apoorv Naik
            sharmadhas Sharmadha S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: