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

Association direction is lost when manually reconnecting a compensation task #1332

Closed
2 tasks
MaxTru opened this issue Jun 30, 2020 · 3 comments
Closed
2 tasks
Labels
bug Something isn't working modeling spring cleaning Could be cleaned up one day ux

Comments

@MaxTru
Copy link
Contributor

MaxTru commented Jun 30, 2020

Describe the Bug

When an association between a compensation boundary event is deleted and then manually added again, the association direction is lost. Also the preview of the association is incorrect:

bug_compensation_task_link2

The correct association is stored as:
<bpmn:association id="Association_1hyw3ph" associationDirection="One" sourceRef="Event_0qnefpa" targetRef="Compensation2Task" />

The incorrect association is stored as:
<bpmn:association id="Association_1sh64l5" sourceRef="Event_0xur0v7" targetRef="CompensationTask" />

Steps to Reproduce

  1. Delete the association between a compensation boundary event and the respective compensation task
  2. Manually re-add the association

Expected Behavior

  • When manually readding the association, the associationDirection is set correctly
  • When manually readding the association, the association preview matches the actual association

Environment

Tested on:

  • OS: Arch Linux
  • Browser: Chromium 81
  • Library version: 7.2.0

And

  • OS: Arch Linux, Modeler 4.0.0
@MaxTru MaxTru added bug Something isn't working modeling ux labels Jun 30, 2020
@philippfromme philippfromme added the backlog Queued in backlog label Jul 1, 2020
@philippfromme
Copy link
Contributor

So far I have found out that deactivating the connection preview feature fixes the issue. The bug seems to be caused by the connection preview.

@nikku nikku added the spring cleaning Could be cleaned up one day label Oct 20, 2021
@Skaiir Skaiir self-assigned this May 16, 2022
@Skaiir
Copy link
Contributor

Skaiir commented May 16, 2022

Dragging the association twice fixes this which is interesting

firefox_AC9lmBMlQH

@Skaiir Skaiir removed their assignment May 16, 2022
@nikku
Copy link
Member

nikku commented Dec 22, 2023

Fixed with bpmn-js@16.3.0.

@nikku nikku closed this as completed Dec 22, 2023
@bpmn-io-tasks bpmn-io-tasks bot removed the backlog Queued in backlog label Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working modeling spring cleaning Could be cleaned up one day ux
Projects
None yet
Development

No branches or pull requests

4 participants