[Bug] [Process definition] sqoop component issues
Search before asking
- [X] I had searched in the issues 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
- Create a workflow, add a component, such as SQL components or SHELL components can be saved, open normal.
- Continue to add sqoop components, but do not add custom parameters, save, open normal.
- 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
Hi:
- Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
- In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
- If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html ,Then write the issue URL in the email content and send question to [email protected].
I will check this issue.
@mchcz I can not reproduce this issue under my environment. Could you shed some more light on it? Give me more details about this issue.
@mchcz I can not reproduce this issue under my environment. Could you shed some more light on it? Give me more details about this issue.
hi @calvinjiang , I found out you said you could not reproduce this case, but you submit PR for this. Did you reproduce this?
@mchcz I can not reproduce this issue under my environment. Could you shed some more light on it? Give me more details about this issue.
hi @calvinjiang , I found out you said you could not reproduce this case, but you submit PR for this. Did you reproduce this?
The reporter just connected with me. Through the details of this issue, I can reproduce it and figure out why the issue happened. So I just submitted a pull request to fix this issue.
Great! I have ask some who familiar with frontend to review your PR, thanks 👍