Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-10058

Task form with LocalDateTime datatype displays time format even when the option is unflagged

XMLWordPrintable

    • False
    • False
    • NEW
    • NEW
    • Hide

      1. Apply the patch jboss-rhba-7.10.0-RHPAM-4022.zip on RHPAM 7.10.0

      2. Download the sample project I've attached (reproducer_03145275.zip), with a simple human task to modify the values of the data object.

      3. Deploy

      4. Test

      • For start the process form, please use

      http://localhost:8080/kie-server/services/rest/server/containers/03145275/forms/processes/_03145275.TestDate/content

      • For display the task form, please use

      http://localhost:8080/kie-server/services/rest/server/containers/03145275/forms/tasks/{taskInstanceId}/content

       

      The forms were made with "Generate all forms" in the bpmn asset.

      Show
      1. Apply the patch jboss-rhba-7.10.0-RHPAM-4022.zip on RHPAM 7.10.0 2. Download the sample project I've attached ( reproducer_03145275.zip ), with a simple human task to modify the values of the data object. 3. Deploy 4. Test For start the process form, please use http://localhost:8080/kie-server/services/rest/server/containers/03145275/forms/processes/_03145275.TestDate/content For display the task form, please use http://localhost:8080/kie-server/services/rest/server/containers/03145275/forms/tasks/{taskInstanceId}/content   The forms were made with "Generate all forms" in the bpmn asset.

      When you make a rest call to retrieve the task form where a data object contains a LocalDateTime datatype it always shows the format of the time (-- : – --) even if the option "Show Time" is unflagged.

      Additionally in firefox browsers you can't select a time so when you click on the task form the button "Complete" it shows the error message "Field xxx has unexpected value "

       

        1. image.png
          image.png
          37 kB
        2. image-2022-02-23-17-51-59-705.png
          image-2022-02-23-17-51-59-705.png
          27 kB
        3. image-2022-02-23-17-52-12-677.png
          image-2022-02-23-17-52-12-677.png
          27 kB
        4. image-2022-02-23-17-54-39-074.png
          image-2022-02-23-17-54-39-074.png
          21 kB
        5. reproducer_03145275.zip
          165 kB
        6. Screen Shot 2022-03-30 at 1.19.07 PM.png
          Screen Shot 2022-03-30 at 1.19.07 PM.png
          250 kB
        7. Test7.12.1CR2.docx
          234 kB

              xiabai@redhat.com Xiaofeng Bai
              xiabai@redhat.com Xiaofeng Bai
              Jan Stastny Jan Stastny
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: