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

Error message when collection is missing is not clear #1788

Closed
edalzell opened this issue May 5, 2020 · 1 comment · Fixed by #2422
Closed

Error message when collection is missing is not clear #1788

edalzell opened this issue May 5, 2020 · 1 comment · Fixed by #2422

Comments

@edalzell
Copy link
Contributor

edalzell commented May 5, 2020

Bug Description

If you have an entries fieldtype referencing a non-existent collection and you reference the fieldset in the CP, the error is not very clear.

How to Reproduce

Make a fieldset (by hand) that has an entries fieldtype w/ a non-existent collection:

                    field:
                      type: entries
                      max_items: 1
                      width: 50
                      display: Entry
                      collections:
                        - i-dont-exist
                        - blog

Extra Detail

https://flareapp.io/share/o7Aeqd7p

Environment

Statamic version: 3.0.0-beta-27

PHP version: 7.4

Install method (choose one):

  • Fresh install from statamic/statamic (with migrator)
@edalzell edalzell changed the title Error message when collection is missing is Error message when collection is missing is not clear May 5, 2020
@duncanmcclean
Copy link
Member

I've replicated this bug and created a fix (#2422)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants