Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB explorer drop down fails to open #348

Open
eladigong opened this issue Aug 10, 2021 · 3 comments
Open

DB explorer drop down fails to open #348

eladigong opened this issue Aug 10, 2021 · 3 comments

Comments

@eladigong
Copy link

We are using quix with 2 datasources and DB explorer dropdown fails to open.
Seeing 2 errors in browser console:

Error: KeyNav: number of elements doesn't match collection!
at app.bundle.min.js:1
at app.bundle.min.js:1
at Object.completeTask (app.bundle.min.js:1)
at app.bundle.min.js:1 "Possibly unhandled rejection: {}"
(anonymous) @ app.bundle.min.js:1

app.bundle.min.js:1 Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: option in buffer, Duplicate key: string:gong_bi_redshift, Duplicate value: gong_bi_redshift
https://errors.angularjs.org/1.8.2/ngRepeat/dupes?p0=option%20in%20buffer&p1=string%3Agong_bi_redshift&p2=gong_bi_redshift
at app.bundle.min.js:1
at app.bundle.min.js:1
at app.bundle.min.js:1
at c.$digest (app.bundle.min.js:1)
at c.$apply (app.bundle.min.js:1)
at app.bundle.min.js:1
at Object.completeTask (app.bundle.min.js:1)
at app.bundle.min.js:1

Thanks for this awesome project!

image

@antonpodolsky
Copy link
Collaborator

Hi @eladigong, please make sure each module (gong_bi_redshift in this case) is defined only once in .env.
Looks like there are duplicates.

@eladigong
Copy link
Author

Thanks @antonpodolsky !

Here are the env vars:

$ env | grep -i modules
MODULES_GONG_BI_REDSHIFT_URL=jdbc:redshift://********
MODULES_GONG_BI_REDSHIFT_SYNTAX=ansi_sql
MODULES_GONG_BI_REDSHIFT_USER=*****
MODULES_GONG_BI_REDSHIFT_PASS=*****
MODULES_GONG_BI_REDSHIFT_ENGINE=jdbc
MODULES_GONG_BI_REDSHIFT_DRIVER=com.amazon.redshift.jdbc.Driver
MODULES_GONG_SEGMENT_REDSHIFT_USER=*****
MODULES_GONG_SEGMENT_REDSHIFT_ENGINE=jdbc
MODULES_GONG_SEGMENT_REDSHIFT_PASS=*****
MODULES_GONG_SEGMENT_REDSHIFT_DRIVER=com.amazon.redshift.jdbc.Driver
MODULES=gong_bi_redshift,gong_segment_redshift
MODULES_GONG_SEGMENT_REDSHIFT_URL=jdbc:redshift://*******
MODULES_GONG_SEGMENT_REDSHIFT_SYNTAX=ansi_sql

@antonpodolsky
Copy link
Collaborator

@eladigong please try to run localStorage.clear() in the dev console and see if it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants