-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
BugSomething isn't workingSomething isn't workingCommunity Reportedissues reported by community membersissues reported by community membersFirestoreIssues related to the firestore IntegrationIssues related to the firestore IntegrationHighThis issue blocks a user from building or impacts a lot of usersThis issue blocks a user from building or impacts a lot of usersIntegrations ProductIssues related to a specific integrationIssues related to a specific integrationInviting ContributionIssues that we would like contributions toIssues that we would like contributions toNeeds TriagingNeeds attention from maintainers to triageNeeds attention from maintainers to triageProductionQuery & JS PodIssues related to the query & JS PodIssues related to the query & JS PodQuery Widgets & IDE PodAll issues related to Query, JS, Eval, Widgets & IDEAll issues related to Query, JS, Eval, Widgets & IDEWidgets & Accelerators PodIssues related to widgets & AcceleratorsIssues related to widgets & AcceleratorsWidgets ProductThis label groups issues related to widgetsThis label groups issues related to widgets
Description
Is there an existing issue for this?
- I have searched the existing issues
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
.map(options -> {
try {
return FirebaseApp.getInstance(projectId);
} catch (IllegalStateException e) {
return FirebaseApp.initializeApp(options, projectId);
}
})Steps To Reproduce
- Go to data.
- choose firestore
- try to connect to firestore with wrong database url.
- click test configuration
- successfully connects.
- put non default db url. in database url input.
- click test configuration
- still connects to default db
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
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't workingCommunity Reportedissues reported by community membersissues reported by community membersFirestoreIssues related to the firestore IntegrationIssues related to the firestore IntegrationHighThis issue blocks a user from building or impacts a lot of usersThis issue blocks a user from building or impacts a lot of usersIntegrations ProductIssues related to a specific integrationIssues related to a specific integrationInviting ContributionIssues that we would like contributions toIssues that we would like contributions toNeeds TriagingNeeds attention from maintainers to triageNeeds attention from maintainers to triageProductionQuery & JS PodIssues related to the query & JS PodIssues related to the query & JS PodQuery Widgets & IDE PodAll issues related to Query, JS, Eval, Widgets & IDEAll issues related to Query, JS, Eval, Widgets & IDEWidgets & Accelerators PodIssues related to widgets & AcceleratorsIssues related to widgets & AcceleratorsWidgets ProductThis label groups issues related to widgetsThis label groups issues related to widgets
