-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
TypeError: Cannot read property 'get' of undefined #4480
Comments
Yes, this error seems to be related only to creating new content without entering all translations. Versions:
app.js
Pages collection
Image
Error on creating page
|
Let me know if you need anything else, happy to help :) |
Hi @lukeocodes, did you manage to solve this issue or find a workaround ? |
Seemed to me to be a limitation of i18n, to assume there is always a translation |
It's a big limitation in some situations, limitation which isn't written anywhere in the doc, and presents itself as a bug to the users. |
Describe the bug
I have enabled i18n for content authoring. I believe I should be able to save a post in the primary language without adding all the translations at the same time. When I try to save, I get no visible error. Instead, I get this error in the console.
To Reproduce
/admin
Expected behavior
/admin
Screenshots
Applicable Versions:
CMS configuration
https://github.com/Nexmo/deved-platform/blob/i18n-netlify-cms/static/admin/config.yml
Additional context
If I complete all the fields for all the languages, it then lets me save!
The text was updated successfully, but these errors were encountered: