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

Unable to save some markers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      Some markers on staging (e.g., the "Alexis Duque Site" in Libya) return a server error when saved. Looking at the requests shows the json being sent in the request body is being coerced into the key for key-value form data instead of being sent as json.

      The culprit is that requests are being made with incorrect headers (i.e., text/plain and application/x-www-form-urlencoded; charset=UTF-8 instead of application/json).

      Once the proper headers are used, this little hack (stripping the trailing colon generated when json is being sent as form data) can be removed.

        Attachments

          Activity

            People

            Assignee:
            heliostrike Sai Sandeep Mutyala
            Reporter:
            burke Burke Mamlin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: