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

SWF Viewer - lienzo rectangle with round corners can't be a shape basic layer

    XMLWordPrintable

Details

    • False
    • None
    • False
    • ---
    • ---

    Description

      If you create a Wires Shape with Lienzo Path as Rectangle with rounded corners than during connection this shape with another Wires Shape you will see Null Pointer connection due to Magnets are not created.

      UPD: Issue is workarounded in the Serverless Workflow viewer for now, but the issue is still in the Lienzo. You can reproduce it by creating two Lienzo shapes. One of it should have Rectangle as provided MultiPath with rounded corners. Then connect two shapes and during the connection you will see NullPointer on missing Magnets for the rectangle with rounded corners.

      UPD 2: Workaround moved to the lienzo side in https://github.com/kiegroup/kie-tools/pull/1275 now it is possible to use Rectangle with rounded corners as basic layer and have Center, North, West, East, South magnets working fine. See Geometry.java for more info.

      UPD 3: fixed as part of KOGITO-7098.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: