Skip to content

[Bug]: dataSourceConfig.dynamicParamsConfig is undefined when using the Firebase plugin #313

Closed
@louga31

Description

@louga31

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When running a query using the Firebase plugin, I get this error:
image

Expected Behavior

The query should go through and not cause an error

Steps to reproduce

  1. Build Lowcoder from source on docker using the steps on the github repo
  2. Create a Firebase datasource
  3. Create any query using this datasource

Environment

OS: Ubuntu 22.04.2 LTS aarch64
Kernel: 5.15.0-1037-oracle aarch64
Arch: aarch64
Docker version: 24.0.2
Git version: 2.34.1
Shell: /bin/zsh

Additional Information

The error happens in the if condition of the runPluginQuery function (server/node-service/src/services/plugin.ts line 217)
image
image
By adding this logging:

console.log(dataSourceConfig);
console.log(dataSourceConfig.dynamicParamsConfig);

I can confirm dataSourceConfig.dynamicParamsConfig is indeed undefined

{
    privateKey: 'supersecrettoken',
    firestoreId: 'secretID',
    databaseUrl: 'https://firebase.com/'
}
undefined

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingNeeds triageNeeds to be reviewed by core team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions