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

VsCode editor - Fields are validated even if they were not changed.

    XMLWordPrintable

Details

    • Workaround Exists
    • Hide

      Close and reopen Properties Dock.

      Show
      Close and reopen Properties Dock.
    • Hide
      • Create a new BPMN file.
      • Set package field or ID to empty value
      • Change the name or the id, or any other field, but keep the focus on the control you changed.
      • Ctrl+S to save file.

      Actual result
      Package fails validation (message appear bellow field). From now on it won't be possible to save any changes before reopening the Properties dock.

      Expected result
      Valid fields should be persisted. If there are invalid fields, they should be reverted to their last valid state. Saving should occur normally.

      Show
      Create a new BPMN file. Set package field or ID to empty value Change the name or the id, or any other field, but keep the focus on the control you changed. Ctrl+S to save file. Actual result Package fails validation (message appear bellow field). From now on it won't be possible to save any changes before reopening the Properties dock. Expected result Valid fields should be persisted. If there are invalid fields, they should be reverted to their last valid state. Saving should occur normally.
    • 2020 Week 13-15 (from Mar 23), 2020 Week 16-18 (from Apr 13), 2020 Week 19-21 (from May 4), 2020 Week 22-24 (from May 25), 2020 Week 25-27 (from Jun 15), 2020 Week 28-30 (from Jul 6), 2020 Week 49-51 (from Nov 30), 2020 Week 52-03 (from Dec 21)

    Description

      • Create a new BPMN file.
      • Change the name or the id, but keep the focus on the control you changed.
      • Ctrl+S to save file.

      Actual result
      Package Field fails to validate (message appear bellow field) and nothing is saved.

      Expected result
      If there are no changes in the package field, this field should not be validated.

      Attachments

        Issue Links

          Activity

            People

              romartin@redhat.com Roger Martinez
              josephblt Wagner Lemos (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: