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

Database enum breaks built in filter all columns, all views including Builder #15104

Open
1 task done
JohnnyMarnell opened this issue Dec 2, 2024 · 2 comments
Open
1 task done
Labels
awaiting response bug Something isn't working

Comments

@JohnnyMarnell
Copy link

Checklist

  • I have searched budibase discussions and github issues to check if my issue already exists

Hosting

  • Cloud
    • Tenant ID: partsorder.budibase.app

Describe the bug
In custom Budibase views built as well as built in Datasource table view pages in Data, clicking on magnifying glass and typing anything yields:

There was a problem loading your grid
Table updated externally, please re-fetch - operator does not exist: <any enum type> ~~* unknown

To Reproduce
Steps to reproduce the behavior:

  1. Create or use any existing Postgres SQL datasource and table with an ENUM type, e.g. CREATE TYPE public.fruit_enum AS ENUM ('APPLE', 'BANANA');
  2. Re-fetch
  3. Click on Magnifying glass in column header in Data -> Postgres SQL -> table view (or any custom page using this) and type.
  4. See error

Expected behavior
Filtering works, as for text fields (maybe casting ::text would fix?). Would also be great if these quick filters defaulted to matching substring anywhere, as opposed to prefix / start.

Screenshots
image

App Export
If possible - please attach an export of your budibase application for debugging/reproduction purposes.

Desktop (please complete the following information):

  • OS: Mac Sonoma 14.16
  • Chrome
  • Tried multiple Budibase app versions, e.g. latest + 3.2.11
@JohnnyMarnell JohnnyMarnell added the bug Something isn't working label Dec 2, 2024
Copy link

linear bot commented Dec 2, 2024

@ConorWebb96 ConorWebb96 self-assigned this Dec 10, 2024
Copy link
Contributor

ConorWebb96 commented Dec 11, 2024

Hey @JohnnyMarnell,

Do you have the table create scripts? I wasn't able to replicate this myself.

Screenshot 2024-12-11 at 08.27.00.png

Screenshot 2024-12-11 at 08.28.23.png

Can you also include the version of Postgres you are using?

@ConorWebb96 ConorWebb96 removed their assignment Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants