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

🐛 BUG: Elephant homepage path build error when fields are empty #398

Open
jurjendevries opened this issue Jul 27, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@jurjendevries
Copy link
Member

Describe the bug
When leaving one of the description repeatable empty title, intro_text and blog relation in the CMS for the single type Home Elephant path, the build process gave an empty null error.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Go to https://cms.dilmahtea.me/admin/content-manager/singleType/api::home-elephant-path.home-elephant-path?plugins[i18n][locale]=en
  2. Add a an entry to description, but only fill the required image.
  3. Save/publish the content
  4. See a build error with empty null

Expected behavior
Make the content required to avoid build errors.

Screenshots
N/A

Desktop (please complete the following information):
N/A

Smartphone (please complete the following information):
N/A

Additional context
N/A

@jurjendevries jurjendevries added the bug Something isn't working label Jul 27, 2023
@jurjendevries
Copy link
Member Author

Solved it by making the needed fields required

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

No branches or pull requests

1 participant