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

Create new record from belongs_to associations crashes the app #2045

Closed
adrianthedev opened this issue Nov 21, 2023 · 1 comment · Fixed by #2048
Closed

Create new record from belongs_to associations crashes the app #2045

adrianthedev opened this issue Nov 21, 2023 · 1 comment · Fixed by #2048
Assignees
Labels
Bug Something isn't working

Comments

@adrianthedev
Copy link
Collaborator

adrianthedev commented Nov 21, 2023

#1876 introduced a bug.

if you're on a New page and you have a belongs_to association it will crash the page because it will try to build a create path for a record that has not been created yet.

@Paul-Bob
Copy link
Contributor

The bug happens only when you use some ID manipulation and it require attributes that are blank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants