XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Minor
    • None
    • None
    • None
    • Sprint - Versions (8/22/2019)

    Description

      When trying to restore to a version where the `organization` of a source was null, the PUT (update) endpoint for sources `/api/EntityDescriptor/{id}` returns this error.

       

      Type mistmatch for null, allowed types: ["array"]↵Type mistmatch for null, allowed types: ["object"]↵Type mistmatch for null, allowed types: ["object"]↵Type mistmatch for null, allowed types: ["object"]↵Type mistmatch for null, allowed types: ["object"]↵Type mistmatch for null, allowed types: ["array"]↵Type mistmatch for null, allowed types: ["array"]

       

      This is when taking the data from a previous version's GET request and sending it through the PUT endpoint to restore to a new version

      Attachments

        1. current.json
          1 kB
        2. updateTo.json
          0.9 kB
        3. versionToRestore.json
          0.9 kB

        Issue Links

          Activity

            People

              ryan.mathis@at.internet2.edu Ryan Mathis (unicon.net)
              ryan.mathis@at.internet2.edu Ryan Mathis (unicon.net)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 1 minute
                  2h 1m