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

SequenceFlow type change is not recognized #13

Open
kollerdroid opened this issue May 11, 2022 · 1 comment
Open

SequenceFlow type change is not recognized #13

kollerdroid opened this issue May 11, 2022 · 1 comment
Labels
backlog Queued in backlog bug Something isn't working spring cleaning Could be cleaned up one day

Comments

@kollerdroid
Copy link

SequenceFlow element type toggling (eg.: Sequence flow -> Default flow) is not recognized as a change.
Label change works fine.

_changed property of diff function result should contain something similar:

_changed : {
  Gateway_id: {
     attrs: {
        default: {
          oldValue: undefined,
          newValue: 'Flow_id' 
        }
     }
  }
}

Object model contains this default attribute:

modeler._definitions.rootElements[0].flowElements.find(f => f.id == 'Gateway_id').default

ModdleElement {id: 'Flow_id', name: 'default', $parent: ModdleElement,}
    $type: "bpmn:SequenceFlow"
    id: "Flow_id"
    name: "default"
    $attrs: (...)
   // ...

Library version: 2.0.2

@kollerdroid kollerdroid added the bug Something isn't working label May 11, 2022
@nikku nikku added the spring cleaning Could be cleaned up one day label May 25, 2022
@nikku
Copy link
Member

nikku commented May 25, 2022

Thanks for opening this issue. I can reproduce this. Moving to backlog.

@nikku nikku added the backlog Queued in backlog label May 25, 2022
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