Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-727

Orders with äöüÄÖÜ in the order id can not be handled by JOC

    XMLWordPrintable

Details

    Description

      Current Situation

      It is possible to create orders with üöäÄÖÜ in the order id. For example when a filename contains such characters and will be consumed by a file order source or simply by editing with JOC. 

      Such orders can not be handled by JOC Cockpit. They can not be started, resumed or anything else. 

      The error message is 

      Server returned HTTP response code: 400 for URL: http://host:40444/jobscheduler/master/api/command 

      With the rest api interface it is possible to handle those orders e.g. to start them with ./orders/start

      {"orders":[{"orderId":"ä","jobChain":"/path/jobchain","at":"now"}],"jobschedulerId":"scheduler_joc_cockpit"}
      

      has the result

      {
          "deliveryDate": "2019-07-31T10:01:33.962Z",
          "ok": true,
          "surveyDate": "2019-07-31T10:01:33.954Z"
      }
      

      and the order will be started

      Desired Behavior

      It should be possible to handle Orders with äöüÄÖÜ in the order id with JOC Cockpit.

      Reproduce

      In the attached file there is a configuration with a job chain and a persistent order with the order id ä. This configuration has been created with JOE. The JobScheduler Master accepts this configuration but it is not possible to start the order ä. With the rest web service it is possible to start the order.

      
      

      Attachments

        Activity

          People

            oh Oliver Haufe
            ur Uwe Risse
            Chanchal Khatri Chanchal Khatri (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: