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

Stunner - exception shown when you connect two nodes by sequence flow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 7.16.0.Final
    • Designer
    • NEW
    • NEW
    • Hide

      1. Add to the process 2 nodes
      2. Start connecting them by clicking on sequence flow icon on first node
      3. When you press mouse on the second node to connect them do not release mouse, move node for several pixels before releasing the mouse button.

      Actual Result:
      Exception will be thrown

      Expected Result:
      Two nodes will be connected and the second one will be moved to some pixels. As alternative we can forbid moving nodes during it's connection.

      Show
      1. Add to the process 2 nodes 2. Start connecting them by clicking on sequence flow icon on first node 3. When you press mouse on the second node to connect them do not release mouse, move node for several pixels before releasing the mouse button. Actual Result: Exception will be thrown Expected Result: Two nodes will be connected and the second one will be moved to some pixels. As alternative we can forbid moving nodes during it's connection.

      In latest snapshot I see an exception (see text below) if you accidentally moving connecting node for some pixels.

      P.S. if you press on the second node for some more time and then move it, error won't be displayed.

      Uncaught exception: Exception caught: (TypeError) : Cannot read property 'ai' of null Caused by: (TypeError) : Cannot read property 'ai' of null | Uncaught exception: Exception caught: (TypeError) : Cannot read property 'ai' of null Caused by: (TypeError) : Cannot read property 'ai' of null

              romartin@redhat.com Roger Martinez
              kgaevski@redhat.com Kirill Gaevskii
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: