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

Blank screen while trying to open a PostgreSQL vector store in Directory Tab #1713

Open
amomra opened this issue Nov 14, 2024 · 1 comment
Open
Assignees
Labels
kind: bug Something isn't working scope: frontend Frontend task

Comments

@amomra
Copy link

amomra commented Nov 14, 2024

Describe the bug

A blank screen is shown when I try to open a PostgreSQL vector store in the Directory Tab. This vector store is a PostgreSQL server version 17 and uses the pgvector extension for vector capabilities.

Set up

I'm testing with the latest tag from ghcr.io/opendatadiscovery/odd-platform image (version: 0.27.5) running in a Kubernetes cluster.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Configure a collector to collect data from a PostgreSQL vector database using pgvector
  2. Open Directory tab
  3. Select Postgresql
  4. Select the data source created by the collector

Expected behavior

To directory tab to open correctly.

Screenshots

This is what is shown in the browser console when I try to open the data source in the Directory tab:

image

Further investigation shown that this error occurs because the function get called cannot found the key VECTOR_STORE and returns undefined, which causes the error. The following image shows the correct return for another key:

image

And the next image shows the return for the key VECTOR_STORE:

image

@amomra amomra added the kind: bug Something isn't working label Nov 14, 2024
@ValeriyWorld ValeriyWorld added the scope: frontend Frontend task label Nov 27, 2024
@ValeriyWorld
Copy link
Contributor

@amomra Hello. I have managed to reproduce the issue, you are right it is a bug. Though it is not on collector side and refers only to the Directories tab and vector store source items representation in UI (frontend side). So at least you still can see the entities from Vector store in the "Catalog" section of platform and investigate them.

image image

I have added the "frontend" mark on the bug, we will fix it as soon as we have the capability for frontend tasks.
Thanks for your research!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working scope: frontend Frontend task
Projects
None yet
Development

No branches or pull requests

2 participants