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

Budibase does not return all columns if some fields are empty #15156

Open
gravyplaya opened this issue Dec 10, 2024 · 3 comments
Open

Budibase does not return all columns if some fields are empty #15156

gravyplaya opened this issue Dec 10, 2024 · 3 comments
Labels
awaiting response bug Something isn't working

Comments

@gravyplaya
Copy link

gravyplaya commented Dec 10, 2024

Checklist

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

Hosting
Self-hosted - Docker - Budibase latest version

Describe the bug
Budibase does not return all columns if some fields are empty.

To Reproduce
Steps to reproduce the behavior:

  1. Go to database and see there are values in the Outcome column
  2. Switch to design view and output the rows on the screen. Notice no Outcome value exists.

Expected behavior
Outcome column and values should exist

Screenshots
Outputted json data (page search for "Outcome" returns no results)
<< Screenshot removed because it contained private info >>

View from design screen (Note the Outcome values)
SCR-20241210-ophq

Desktop (please complete the following information):

  • MacOS, Chrome
@gravyplaya gravyplaya added the bug Something isn't working label Dec 10, 2024
Copy link

linear bot commented Dec 10, 2024

@hilton
Copy link

hilton commented Dec 16, 2024

I’m experiencing what sounds like the same behaviour, but with a different cause, because none of the missing columns’ values are empty. Maybe the component isn’t using the query’s transformer as expected.

Reproduce:

  1. Create a new app
  2. Add a REST API data source, with a query for GET https://cdn.githubraw.com/Juriy/swapi/refs/heads/master/resources/fixtures/films.json
  3. In the query, add a transformer return data.map(film => film.fields)
  4. Save the query
  5. In the Design view, add a Blank screen
  6. On the new screen, add a Table component, and set the Data to the query saved in step 4

Expected:

  • Table component has the columns that are enabled in the table configuration sidebar

Observed:

  • The sidebar lists the expected columns, but the table component only includes the pk column values

Budibase - missing table columns

@mikesealey
Copy link
Collaborator

Hey @gravyplaya could you just go over the steps to reproduce?

From what you've discussed in the overall report I've tried to recreate but been unable to. Please provide more detailed steps to reproduce, and if possible, an app-export of the issue happening.

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

4 participants