dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

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

Open weiyuanyong opened this issue 6 years ago • 2 comments

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

weiyuanyong avatar Jul 09 '20 10:07 weiyuanyong

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.

yangyichao-mango avatar Jul 24 '20 02:07 yangyichao-mango

Close this issue since it can't be reproduced

chengshiwen avatar Apr 10 '21 10:04 chengshiwen