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

Export rows Table JSON select can’t have specific columns selected. If it does the exported array has blank objects #13461

Open
1 task done
ConorWebb96 opened this issue Apr 11, 2024 · 1 comment
Labels
actions Relating to Budibase app actions bb-bindings bb-data-import-export Exporting/Importing of data bug Something isn't working

Comments

@ConorWebb96
Copy link
Contributor

Checklist

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

Hosting

  • Self
    • Method: docker compose
    • Budibase Version: [Feature branch] will be on latest eventually 2.22.19
    • App Version: [Feature branch] will be on latest eventually 2.22.19

Describe the bug
When selecting JSON as the type you wish to export rows as. If you also have columns configured e.g. you only want first and last name exported to a json file it will export the selected rows. But each rows objects will be empty.

To Reproduce
Steps to reproduce the behavior:

  1. Import the export
  2. Change the export rows action to JSON type
  3. Add some columns that you wish to export
  4. See error were an array filled with empty objects is exported.

Expected behavior
It should have the related selected columns exported instead of outputting as empty objects inside the array.

Screenshots
Screenshot 2024-04-11 at 13 34 09

App Export
My export-recreate-1712839021722.tar.gz

Additional context
Will require this PR to be merged before it can be tested.

@ConorWebb96 ConorWebb96 added bug Something isn't working bb-data-import-export Exporting/Importing of data labels Apr 11, 2024
@ConorWebb96 ConorWebb96 added actions Relating to Budibase app actions bb-bindings labels Apr 11, 2024
@andz-bb andz-bb changed the title Export rows Table JSON select can’t have specific columns selected if it does the exported array has blank objects Export rows Table JSON select can’t have specific columns selected. If it does the exported array has blank objects Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actions Relating to Budibase app actions bb-bindings bb-data-import-export Exporting/Importing of data bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant