You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/09/24 03:16:48 UTC

[GitHub] [dolphinscheduler] Wangyizhi1 commented on pull request #6310: [#6309] [Bug] [UI] when one task instance has been deleted, then create another task instance with the same name,throw 'name already exist' error.

Wangyizhi1 commented on pull request #6310:
URL: https://github.com/apache/dolphinscheduler/pull/6310#issuecomment-926311189


   Thank you for your feedback. This is a serious problem.
   
   ```
     removeTask (state, code) {
       state.isEditDag = true
   --    state.tasks = state.tasks.filter(task => task.code !== code)
   ++   state.tasks = state.tasks.filter(task => task.code === code)
     }
   ```
   
   But, this repair may cause other problems. You can create task1, task2 and task3 in turn, delete task3 and save it. 
   The submitted data will be inconsistent with the current DAG diagram.
   
   The cause of this problem is type processing error, i fixed it here #6327
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org