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

Filled DateTime field on Dev Sandbox form break Runner when it's opened on Online Editor

    XMLWordPrintable

Details

    • Hide
      1. Create a model that contains a input with `date and time` type.
      2. Deploy it using the Dev Sandbox.
      3. Open the Dev Sandbox form and fill the `date and time` field with any value.
      4. Use the `Open` button to open the current model on the Online Editor.
      5. The DMN Runner form will show an error message.
      Show
      Create a model that contains a input with `date and time` type. Deploy it using the Dev Sandbox. Open the Dev Sandbox form and fill the `date and time` field with any value. Use the `Open` button to open the current model on the Online Editor. The DMN Runner form will show an error message.
    • ---
    • ---

    Description

      Trying to open the Online Editor from the Dev Sandbox with a filled `date and time` field  breaks the the DMN Runner.

      With a further investigation, this behaviour happens because the sandbox send a string date, and the form only accepts a Date object.

       

      Attachments

        1. kogito-5721.dmn
          3 kB
        2. kogito-5721.mp4
          2.31 MB

        Activity

          People

            gcaponet Guilherme Caponetto
            lmotta@redhat.com Luiz Motta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: