Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin changes modeling behavior regarding event-based gateway #43

Open
hkupitz opened this issue Dec 10, 2021 · 1 comment
Open

Plugin changes modeling behavior regarding event-based gateway #43

hkupitz opened this issue Dec 10, 2021 · 1 comment
Labels
backlog Queued in backlog bug Something isn't working spring cleaning Could be cleaned up one day

Comments

@hkupitz
Copy link

hkupitz commented Dec 10, 2021

Describe the Bug

The plugin seemingly changes the modeling behavior regarding the event-based gateway. As per the BPMN 2.0 specification targets of an event-based gateway must not have any other incoming sequence flows.

With a clean Modeler install, when connecting a second sequence flow to such an event, the already connected incoming sequence flow per default is deleted automatically:

WithoutPlugin

When the plugin is installed this doesn't happen, allowing two incoming sequence flows to be connected to the event:

WithPlugin

Steps to Reproduce

  1. Open test diagram
  2. Connect the event-based gateway to the intermediate message catch event again.
  3. See that the now illegal other flow to the catch event remains in place.

Expected Behavior

The incoming sequence flow that is already connected to the event following the event-based gateway should be removed when connecting a second element.

Environment

  • OS: Windows 10
  • Modeler version: 4.11.1
  • Plugin version: 0.14
@hkupitz hkupitz added the bug Something isn't working label Dec 10, 2021
@hkupitz hkupitz changed the title Token simulation plugin changes modeling behavior regarding event-based gateway Plugin changes modeling behavior regarding event-based gateway Dec 10, 2021
@nikku
Copy link
Member

nikku commented Dec 13, 2021

Thanks for opening this issue.

Please always share the diagram you were able to reproduce a bug with.

I can reproduce the issue on the bpmn.io demo using this test diagram. Because of that I suspect that it is a regression in a recent bpmn-js release, not a bug in the token-simulation.

@nikku nikku added backlog Queued in backlog spring cleaning Could be cleaned up one day labels Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog bug Something isn't working spring cleaning Could be cleaned up one day
Projects
None yet
Development

No branches or pull requests

2 participants