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

Page crashes when attempting to translate empty form #3232

Closed
duvld opened this issue May 22, 2021 · 0 comments · Fixed by #3233
Closed

Page crashes when attempting to translate empty form #3232

duvld opened this issue May 22, 2021 · 0 comments · Fixed by #3233
Assignees
Labels
bug Things broken and not working as expected Front end

Comments

@duvld
Copy link
Member

duvld commented May 22, 2021

Description

If you create a form and don't add anything to it then open the translation modal the page crashes. Niche situation but never good to crash the page!

Happening because an asset content's translations array does no exist if there is no form.

@duvld duvld added bug Things broken and not working as expected Front end labels May 22, 2021
@duvld duvld self-assigned this May 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Things broken and not working as expected Front end
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant