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

cannot check condition [beforeDrop]Error: Syntax error, unrecognized expression: #function(t){return this.filter((function(e){return t.indexOf(e)<0}))} #3172

Closed
weiyuanyong opened this issue Jul 9, 2020 · 2 comments

Comments

@weiyuanyong
Copy link

this is js error log:cannot check condition [beforeDrop]Error: Syntax error, unrecognized expression: #function(t){return this.filter((function(e){return t.indexOf(e)<0}))}.

dolphinscheduler version:1.3.1-release

操作流程:进入工作流编辑页面(即http://ip:8888/#/projects/definition/list/127),当给两个节点建立连接时,鼠标放开,则报上述js错误。
经自己排查,定位到代码处:dag.js中JSP.handleEvent()处 -》 jsPlumbHandle.js中this.JspInstance.bind('beforeDrop', function (info) 处 -》 jsplumb.js中this.checkCondition函数处 抛出异常。

此错误导致的后果是,工作流节点前后关系(preTask)无法保存。请问如何修复此问题,感谢!
附上图片:
scheduler-1
scheduler-2
scheduler-3

@yangyichao-mango
Copy link
Contributor

Hi,

I do not reproduce this bug in 1.3.1-release branch, please describe more detail about how to reproduce this bug.
If you have any question or suggestion, welcome to put forward.

@chengshiwen
Copy link
Member

Close this issue since it can't be reproduced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants