Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-14185

Form with readonly boolean field cannot be submitted - validation of readonly failed

      Environment:

      Camunda 7.16 with Spring Boot Starter

      Description:

      I think this might be a fairly similar issue to CAM-13803. If we have a form with a boolean field, and on a subsequent form (eg a review-type form) have the same field as boolean with a readonly constraint, you cannot submit the form. On submit of the form with the readonly boolean, you'll get a validation error:

        An error happened while submitting the task form : Cannot submit task form [id]: Invalid value submitted for form field '[field]': validation of readonly failed.

      Steps to reproduce (Required on creation):

      2-step sample BPMN file attached, prompts for various form field types on the first user step, shows them readonly on the second, submission of the second fails with the validation error as shown:

      Observed Behavior:

      Readonly form field validation incorrectly triggers for readonly boolean field

      Expected behavior:

      Form can be submitted without error

      Root Cause (Required on prioritization):

      Solution Ideas (Optional):

      Hints (optional):

        This is the controller panel for Smart Panels app

            [CAM-14185] Form with readonly boolean field cannot be submitted - validation of readonly failed

            Hi NickBurch,

            thanks for spotting this and letting us know.

            We will have a look as soon as we can and let you know if it's similar to CAM-13803.

            Best,
            Tobias

            Tobias Metzke-Bernstein added a comment - Hi NickBurch , thanks for spotting this and letting us know. We will have a look as soon as we can and let you know if it's similar to CAM-13803 . Best, Tobias

            Hi NickBurch,

            Thank you again for reporting this!

            We've managed to reproduce and identify the issue. We are planning to deliver a fix for this in our 7.17 release.

            Best,
            Daniel

            Daniel Kelemen added a comment - Hi NickBurch , Thank you again for reporting this! We've managed to reproduce and identify the issue. We are planning to deliver a fix for this in our 7.17 release. Best, Daniel

              hariharan.parasuraman Hariharan Parasuraman
              NickBurch Nick Burch
              Daniel Kelemen Daniel Kelemen
              Tassilo Weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: