mchcz opened a new issue #7103:
URL: https://github.com/apache/dolphinscheduler/issues/7103


   ### 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
   
   1.sqoop component custom parameters have no checks and can add multiple 
empty parameters, resulting in an exception when the workflow is selected by 
dependent components.
   2. If you add a sqoop component to a workflow and add multiple custom 
parameters at the same time, saving will result in data loss for the entire 
workflow.
   
   
   ### What you expected to happen
   
   The sqoop component needs to enforce the parameter name required, and the 
workflow can be saved normally without losing data.
   
   ### How to reproduce
   
   1. Create a workflow, add a component, such as SQL components or SHELL 
components can be saved, open normal.
   2. Continue to add sqoop components, but do not add custom parameters, save, 
open normal.
   3. Add multiple empty parameters to the sqoop component, save, open and 
discover that everything is gone.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   2.0.0
   
   ### Are you willing to submit PR?
   
   - [ ] 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