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

Do not open editor when .bpmn file can't be loaded

XMLWordPrintable

    • 2020 Week 25-27 (from Jun 15)

      When I want to edit a .bpmn file that can't be loaded by the editor the extension opens an editor with only start node.
      the editor shows an error dialog. See screenshots.

      I would expect chrome-extension to not show any editor and go back to text view. Maybe notify user about this using alert window. I am able o edit and propose a file change so this is not a safe approach and could lead to confusion.

      Happens on all channels.

      Issue is located on kogito-bpmn editor side, tooling should be ok.

      Acceptance criteria
      User is notified via alert windows that shown diagram is not the actual one.
      A text view is shown to user when he tries to edit a diagram that can be loaded.

      Example process:
      https://github.com/kiegroup/kogito-travel-agency-tutorial/blob/master/02-kogito-travel-agency/src/main/resources/org/acme/travels/travels.bpmn2
      https://github.com/kiegroup/kogito-examples/blob/stable/kogito-usertasks-quarkus/src/main/resources/org/acme/travels/approval.bpmn

            kgaevski@redhat.com Kirill Gaevskii
            dhanak@redhat.com Dominik Hanak
            Dominik Hanak Dominik Hanak
            Dominik Hanak Dominik Hanak
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: