PromucFlow_constructor/app/server/appsmith-plugins
PiyushPushkar02 f04c474fc4
fix: MongoDB Invalid DB Name Error Msg (#21599)
## Description

- This PR adds a check to throw a proper error if the default database
name is empty and an invalid database name is provided in the
authentication section for mongo db.
- Added JUnit test cases for the same. one for an invalid db name and
one for a valid db name (Both with empty default db name)
- There is one more issue observed here which is not taken part in this
ticket. When you try to save the mongo data source with the default
database name and empty database name under auth section. Once you try
to save the data source it will throw an internal server error. Created
a ticket for the same:
https://app.zenhub.com/workspaces/data-integration-pod-6322a759b3296d249ce5c4ed/issues/gh/appsmithorg/appsmith/21598

Fixes #12260 

## Type of change
- Bug Fix(non-breaking change which adds functionality)

## How Has This Been Tested?
- Manual
- JUnit TC added 

### **Checklist**:

- [x]  My code follows the style guidelines of this project
- [x]  I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ]  I have made corresponding changes to the documentation
- [ ]  My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x]  New and existing unit tests pass locally with my changes
- [ ]  PR is being merged under a feature flag

### **QA activity:**

- [ ]  Test plan has been approved by relevant developers
- [x]  Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ]  Added Test Plan Approved label after reveiwing all Cypress test
2023-03-23 11:23:56 +05:30
..
amazons3Plugin fix: Ensure backward compatibility w.r.t. statusCode and response.body in case of errors (#21052) 2023-03-03 21:18:01 +07:00
arangoDBPlugin feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
dynamoPlugin fix: Show downstream error message for DynamoDB (#21042) (#21209) 2023-03-08 21:02:51 +05:30
elasticSearchPlugin feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
firestorePlugin feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
googleSheetsPlugin chore: improvements added in gsheet form config for feature flag (#20999) 2023-03-08 13:43:37 +05:30
graphqlPlugin fix: Ensure backward compatibility w.r.t. statusCode and response.body in case of errors (#21052) 2023-03-03 21:18:01 +07:00
jsPlugin chore: Upgrade to Spring Boot 3.0.1 (#19044) 2023-01-02 19:40:59 +07:00
mongoPlugin fix: MongoDB Invalid DB Name Error Msg (#21599) 2023-03-23 11:23:56 +05:30
mssqlPlugin fix: allow MsSQL plugin to connect with ssl encryption (#20568) 2023-02-20 18:32:46 +05:30
mysqlPlugin fix: Ensure backward compatibility w.r.t. statusCode and response.body in case of errors (#21052) 2023-03-03 21:18:01 +07:00
oraclePlugin feature: Introduce Oracle Integration behind feature flag (#21273) 2023-03-16 16:54:25 +05:30
postgresPlugin fix: Ensure backward compatibility w.r.t. statusCode and response.body in case of errors (#21052) 2023-03-03 21:18:01 +07:00
redisPlugin feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
redshiftPlugin feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
restApiPlugin fix: Ensure backward compatibility w.r.t. statusCode and response.body in case of errors (#21052) 2023-03-03 21:18:01 +07:00
saasPlugin feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
smtpPlugin fix: 11847 configuring UTF-8 encoding as default to SMTP plugin (#20619) 2023-02-21 13:34:56 +05:30
snowflakePlugin feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
pom.xml feature: Introduce Oracle Integration behind feature flag (#21273) 2023-03-16 16:54:25 +05:30