wqxs opened a new issue, #9428:
URL: https://github.com/apache/dolphinscheduler/issues/9428

   ### 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
   
   In the data source function module, I select the postgresql type data 
source. After the test is successful, I delete the password for the test, or it 
is successful.
   
   ### What you expected to happen
   
   ![Uploading image.png…]()
   
   
   ### How to reproduce
   
   Fill in the correct data source connection information first, after the test 
is successful, delete the password, and then test
   
   ### Anything else
   
   The reason for the problem is because: the DataSourceClient created by 
dbType, user and jdbcUrl as the key when getting the DatasourceUniqueId in the 
55th line of the DataSourceClientProvider, so the first DataSourceClient is 
found in the second test, So there will be cases where the test can be 
successful without a password
   
   ### Version
   
   2.0.5
   
   ### 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