TheOpenCloudEngine / uEngine5-base

uEngine5 BPMS that totally re-written in Microservices architecture. uEngine5 can act as not only a conventional Workflow or BPMS but also as a REST api orchestrator or a BPaaS (Business process as a service) of members of OCE's MSA components.
MIT License
10 stars 13 forks source link

디자이너 그릴때, 라인에 message flow name 을 적을시 back delete 키를 누르면 선이 지워져 버림 #115

Closed kimscott closed 5 years ago

kimscott commented 5 years ago

디자이너 그릴때, 라인에 message flow name 을 적을시 back delete 키를 누르면 선이 지워져 버림

kimscott commented 5 years ago

문제점 원인 back delete 키를 누를적에 ProcessDesigner.vue 의 deleteActivity 메서드를 호출하게 된다. 이때 drawer == false 가 되면 삭제가 안되도록 해놨는데, 이 삭제가 안되는 부분이 definition.childActivities 와 definition.sequenceFlows 이다.

근데 문제는 definition.sequenceFlows 와 definition.messageFlows 가 한번더 삭제하는 로직이 들어가 있다. drawer == false 체크로직을 definition.sequenceFlows 와 definition.messageFlows 도 포함시키면 헤결가능함