Priority Sorter - Mismatch between client request and server parsing

XMLWordPrintable

    • 4.0.1 released Nov 27, 2021

      When trying to set configuration for jobs in "included in a View" mode, saving the configuration will always fail : the JSON sent has a shape different from what the server expects.

      • The client sends the following request
            {
              ...,
              "jobFilter": true|false,
              "jobPattern": "some pattern",
              ...
            }
            
      • The server expects the following request
            {
              ...,
              "jobFilter": {
                "jobPattern": "some pattern"
              },
              ...
            }
            

        or

            {
              ...,
              "jobFilter": null,
              ...
            }
            

      This causes the server to Error 500 upon receiving the request.

      Fixing the request this way using e.g. browser's developer panel works around the issue.

            Assignee:
            Mark Waite
            Reporter:
            Thomas Bessou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: