SbloodyS commented on a change in pull request #7774:
URL: https://github.com/apache/dolphinscheduler/pull/7774#discussion_r777787523



##########
File path: 
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessInstanceServiceImpl.java
##########
@@ -612,13 +612,13 @@ private void setProcessInstance(ProcessInstance 
processInstance, String tenantCo
         }
         ProcessInstance processInstance = 
processService.findProcessInstanceDetailById(processInstanceId);
         if (null == processInstance) {
-            putMsg(result, Status.PROCESS_INSTANCE_NOT_EXIST, 
processInstanceId);
+            putMsg(result, Status.PROCESS_INSTANCE_NOT_EXIST, 
String.valueOf(processInstanceId));

Review comment:
       eg:
   The input processInstanceId is 1234.
   
   Before:  工 作 流 实 例 [1,234]不 存 在
   After: 工 作 流 实 例 [1234]不 存 在
   
   Status.PROCESS_INSTANCE_NOT_EXIST using {0} as parameter while input type in 
integer may cause this problem.




-- 
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