kyoty opened a new pull request #5909: URL: https://github.com/apache/dolphinscheduler/pull/5909
<!--Thanks very much for contributing to Apache DolphinScheduler. Please review https://dolphinscheduler.apache.org/en-us/community/development/pull-request.html before opening a pull request.--> ## Purpose of the pull request Fix: #5908 Close: #5908 ## Brief change log ```java /** * process definition structure */ @TableField(exist = false) private ProcessDefinition processDefinition; ``` the `processDefinition` variable in `ProcessInstance` can't be obtained by `processInstance = processService.findProcessInstanceById(processInstance.getId());` So I try to store the existed `processDefinition` ahead, and use `processInstance.set(processDefinition)` to ensure the `processDefinition` would not be null. ## Verify this pull request Manually verified the change by testing locally and the existing UT. -- 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]
