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

Fix CP Listing breaking when there's a missing user #2410

Closed
wants to merge 1 commit into from
Closed

Fix CP Listing breaking when there's a missing user #2410

wants to merge 1 commit into from

Conversation

duncanmcclean
Copy link
Member

This pull request fixes an issue where if you had a User fieldtype field in your collection blueprint, you had it select for articles but then you deleted one of those users, an exception would previously been thrown. Now in this PR, the user will just display blank.

This bug appeared on the entries listing page in the CP if you had the User field setup to display.

This pull request fixes #2398.

Screenshot

In this screenshot, fvfvfv is the entry with the missing user.

image

jasonvarga added a commit that referenced this pull request Sep 15, 2020
Co-authored-by: Duncan McClean <duncan@mcclean.co.uk>
@jasonvarga
Copy link
Member

Merged in db9968c

Thanks!

@jasonvarga jasonvarga closed this Sep 15, 2020
@duncanmcclean duncanmcclean deleted the bugfix/user-listing-with-old-user branch September 15, 2020 19:05
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 this pull request may close these issues.

CP collection listing can be broken if a user is deleted
2 participants