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

Entries and User fieldtypes should handle error and show warning when ID is not found #1752

Closed
mikemartin opened this issue Apr 29, 2020 · 0 comments

Comments

@mikemartin
Copy link

Bug Description

I've ran into this issue a couple times recently. It looks like when using a Relate field like Entries or Users, if the ID doesn't match an entry then I receive the error:

call to member function handle() on null

However, the Stack Selector seems to handle the missing ID more gracefully and shows warning on the field. Can we ensure that the Select modes show a warning too?

@mikemartin mikemartin changed the title Entries and User fieldtypes should suppress errors when ID is not found Entries and User fieldtypes should handle error and show warning when ID is not found Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants