[Bug]: Firestore connection configuration works wrong #38121
Labels
Bug
Something isn't working
Community Reported
issues reported by community members
Firestore
Issues related to the firestore Integration
High
This issue blocks a user from building or impacts a lot of users
Integrations Product
Issues related to a specific integration
Inviting Contribution
Issues that we would like contributions to
Needs Triaging
Needs attention from maintainers to triage
Production
Query & JS Pod
Issues related to the query & JS Pod
Is there an existing issue for this?
Description
When i try to connect to firestore's non-default database, appsmith keep connecting to default database.
because it seems not to use url options, I tested with wrong database url and appsmith success to connect to default firestore db.
I expect to connect to db which's database url pointing (https://DATABASE_NAME.firebaseio.com).
https://firebase.google.com/docs/database/web/start
I think bug is in here. FirestorePlugin try to access to default firestore first. it should give using options priority
https://github.com/appsmithorg/appsmith/blob/release/app/server/appsmith-plugins/firestorePlugin/src/main/java/com/external/plugins/FirestorePlugin.java
Steps To Reproduce
Public Sample App
No response
Environment
Production
Severity
High (Blocker to building or releasing)
Issue video log
No response
Version
self hosted - 1.5.2
The text was updated successfully, but these errors were encountered: