ruanwenjun commented on code in PR #10677:
URL: https://github.com/apache/dolphinscheduler/pull/10677#discussion_r930021111


##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java:
##########
@@ -1856,6 +1858,19 @@ protected void doBatchOperateProcessDefinition(User 
loginUser,
                     }
                     
processDefinition.setLocations(JSONUtils.toJsonString(jsonNodes));
                 }
+                //copy timing configuration
+                Schedule scheduleObj = 
scheduleMapper.queryByProcessDefinitionCode(oldProcessDefinitionCode);
+                if (scheduleObj != null) {
+                    
scheduleObj.setProcessDefinitionCode(processDefinition.getCode());

Review Comment:
   Ignore this, I find processDefinitionName is not a column in 
`t_ds_schedules`.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to