Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-2811

Required Process Variable Tags shouldn't be accepted in forms when empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • 2021 Week 07-09 (from Feb 15), 2021 Week 10-12 (from Mar 8), 2021 Week 13-15 (from Mar 29), 2021 Week 16-18 (from Apr 19)
    • Hide

      You can also import this project to test quicker: https://github.com/kmacedovarela/jbpm-variable-tagging-sample

       Or you can create a new project and:

      1. New Process
      2. Add process variable, String, tag it as required
      3. Deploy the project
      4. Start a new instance via business central with the auto generated form.
      5. Try to submit an empty form.

      Actual result

      It is possible to submit an empty form.

      Expected result

      The form can be submitted only in case that it contains non empty value.

       

       Video showing the current behavior is attached.

      Show
      You can also import this project to test quicker: https://github.com/kmacedovarela/jbpm-variable-tagging-sample  Or you can create a new project and: New Process Add process variable, String, tag it as required Deploy the project Start a new instance via business central with the auto generated form. Try to submit an empty form. Actual result It is possible to submit an empty form. Expected result The form can be submitted only in case that it contains non empty value.    Video showing the current behavior is attached.
    • NEW
    • NEW

      Scenario: a process that has a string process variable tagged with required.

      Action: A user starts a process with an empty string set on the required variable.

       

      Unexpected Result: The process can be started via business central form interaction 

      Expected behavior: The form field should be required when the process variable is also required.

       

      Notice that forms should also react to both the required and readonly tag.

        1. tags.mp4
          6.85 MB
          abhishek kumar

              abkuma abhishek kumar
              abkuma abhishek kumar
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: