Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-7608

[SWF Editor] si removing "schedule" from "start" object and makes is a string

XMLWordPrintable

    • 2022 Week 29-31 (from Jul 18), 2022 Week 32-34 (from Aug 8), 2022 Week 35-37 (from Aug 29)

      The marhsal/unmanrshal roundtrip with attached example uncovered issue where
      the editor removes some fields.

      Test log:

      Different value found in node "start", expected: <{"stateName":"CheckInbox","schedule":{"cron":"0 0/15 * * * ?"}}> but was: <"CheckInbox">.
      

      Input:

      "start": {
          "stateName": "CheckInbox",
          "schedule": {
            "cron": "0 0/15 * * * ?"
          }
        },
      

      Output:

      "start": "CheckInbox"
      

              josephblt Wagner Lemos (Inactive)
              dhanak@redhat.com Dominik Hanak
              Dominik Hanak Dominik Hanak
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: