Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-1455

Patch and Replace methods in the REST UpdateController return 400

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Done
    • None
    • 0.5.0
    • None

    Description

      A regression was recently introduced where a patch or replace request to the REST UpdateController returns a 400 status code.  For example, this patch request:

      {
        "guid" : "bro_2",
        "sensorType" : "bro",
        "patch" : [
          {
            "op": "add",
            "path": "/project",
            "value": "metron"
          }
        ]
      }

      works in the UpdateControllerIntegrationTest but returns a 400 in full dev.

       

      Attachments

        Issue Links

          Activity

            People

              cestella Casey Stella
              rmerriman Ryan Merriman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: