Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
While it'd be nice for people to re-index when users or content is deleted, sometimes there is a lag. It should be a little nicer and not assume that user_load actually worked.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2077281-apache-solr-user-check-3.patch | 750 bytes | japerry |
#2 | 2077281-apache-solr-user-check-2.patch | 749 bytes | japerry |
Comments
Comment #1
japerryNot fixed. was on wrong branch.
Needed for #2075523: People directory cards look different, broken after searching
Comment #2
japerryBelow adds an if around the user object to make sure it exists before trying to view it.
Comment #3
japerrywith a conditional space.
Comment #4
dstuart CreditAttribution: dstuart at Axis12 Limited commentedDuplicate of https://www.drupal.org/node/1987388