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

Saving an empty snippet leads to the builder crashing #15113

Open
1 task done
mikesealey opened this issue Dec 3, 2024 · 1 comment
Open
1 task done

Saving an empty snippet leads to the builder crashing #15113

mikesealey opened this issue Dec 3, 2024 · 1 comment
Labels
avalanche OSS team bug Something isn't working customer Created by Linear-GitHub Sync env - production Bug found in production frontend premium-enterprise Feature for Enterprise plan

Comments

@mikesealey
Copy link
Collaborator

Checklist

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

Hosting

  • Cloud
    • Tenant ID: miketest1

Describe the bug
A clear and concise description of what the bug is.

Snippets are a premium feature. Steps to reproduce assume that you're using a premium instance
To Reproduce
Steps to reproduce the behavior:

  1. In a screen, add a headline binding
  2. Open the bindings drawer and switch to JS
  3. Click the Snippets icon and add a new snippet
  4. Save an empty snippet
    image
  5. Try to add it to the input box in the bindings drawer by clicking on it
  6. builder becomes unresponsive.

Expected behavior
empty snippets should not break the builder.

Screenshots
Jam https://jam.dev/c/81a6d8b8-0e21-4b06-b185-30f94e403005

For no obvious reason, Jam didn't capture this error at 21 seconds (when the snippet is clicked from the list in the bindings menu)
Screenshot 2024-12-03 at 17 58 20

App Export
Snippets-export-1733248847467.tar.gz

Desktop (please complete the following information):

  • OS: MacOS
  • Browser chrome
  • Version 131.0.6778.86 (Official Build) (arm64)

Additional context
Issue raised by CSE on behalf of customer.

As part of the initial inquiry the customer also stated that snippets that they had written were gone, which is how they discovered that empty snippets cause the builder to crash.

@mikesealey mikesealey added the bug Something isn't working label Dec 3, 2024
Copy link

linear bot commented Dec 3, 2024

@ConorWebb96 ConorWebb96 added premium-enterprise Feature for Enterprise plan customer Created by Linear-GitHub Sync env - production Bug found in production avalanche OSS team frontend labels Dec 10, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
avalanche OSS team bug Something isn't working customer Created by Linear-GitHub Sync env - production Bug found in production frontend premium-enterprise Feature for Enterprise plan
Projects
None yet
Development

No branches or pull requests

2 participants