github-actions[bot] commented on issue #10943:
URL: 
https://github.com/apache/dolphinscheduler/issues/10943#issuecomment-1183045107

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   After copying the task on the workflow details page, modifying the 
parameters of the array type will cause the corresponding parameters of the 
copied task to be modified as well.
   
   ### What you expected to happen
   
   The problem of shallow copy of front-end pages
   
   ### How to reproduce
   
   After copying the task on the workflow details page, modifying the 
parameters of the array type will cause the corresponding parameters of the 
copied task to be modified, as shown in the figure below.
   1. Create a new task and define a pre-sql
   
![image](https://user-images.githubusercontent.com/56187785/178704700-c7db7386-8af1-49b0-b872-fda3b6dfaa61.png)
   2. Copy the task and change the pre-SQL
   
![image](https://user-images.githubusercontent.com/56187785/178705056-961621ef-f8ff-4ae8-a4b7-681da4c2efd7.png)
   3. Look at the copied tasks and find that the pre-sql sql has also changed
   
![image](https://user-images.githubusercontent.com/56187785/178705302-8817b9f3-10db-4804-8d4c-cda336c9f298.png)
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   2.0.6
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)


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