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

Log view window passes wrong parameters to the web service if an ampersand is included with one of the parameters

    XMLWordPrintable

Details

    Description

      Current Situation

      • When a log view window is opened, the Order ID and the Job Chain or the Job are passed to the web service query.
      • If one of these values contains an ampersand then the ampersand is not URL-encoded, therefore incomplete values are passed to the web service when the query is received.
      • Example: We assume to have
        • a file order tmp/1&2.txt
        • then the log window receives the query ./joc/log.html#!/?historyId=244308&orderId=tmp%2F1&2.txt&jobChain=%2Fjob_chain1
      • and the web service ./order/log is requested with
        {
        	"jobschedulerId": "scheduler.1.12.7",
        	"jobChain": "/job_chain1",
        	"orderId": "tmp/1",  //the orderId is incomplete
        	"historyId": "244308"
        }
        

      Desired Behavior

      • Parameters passed to the "log" web services should include valid, URL-decoded values.

      Attachments

        Activity

          People

            ztsa0019 Sourabh Agrawal
            oh Oliver Haufe
            Oliver Haufe Oliver Haufe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: