njnu-seafish commented on PR #18308:
URL: 
https://github.com/apache/dolphinscheduler/pull/18308#issuecomment-4598142879

   [DEBUG] restructureNodeData - Creating new task, applying project preferences
   detail-modal.tsx:141 [DEBUG] restructureNodeData - Skipping taskPriority: 
value=HIGHEST, inData=false
   detail-modal.tsx:141 [DEBUG] restructureNodeData - Skipping workerGroup: 
value=seatunnel, inData=false
   detail-modal.tsx:138 [DEBUG] restructureNodeData - Applying environmentCode: 
172144649035872
   
   Root Cause:
   The item in data check fails because the initial data object does not 
contain fields like taskPriority or workerGroup. These fields are only added 
later during the form component initialization.
   
   Solution:
   Remove the item in data check and directly assign the project preference 
values to the data object.
   
   创建任务时没有应用项目偏好值的中文说明:
   根本原因:  item in data 检查失败,因为初始的 data 对象中不包含 taskPriority 、 workerGroup 
等字段。这些字段是后续在表单组件初始化时才添加的。
   
   解决方案:
   移除 item in data 检查,直接将项目偏好值赋值给 data 对象 


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