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.
See example search results page: http://drupal.org/search/site/randall%20knutson
If you click on the "posted by" link, it (in many cases) takes you to the wrong user profile.
Comments
Comment #1
silverwing CreditAttribution: silverwing commentedIt seems the links that aren't working correctly are for events and discussions for Groups.drupal.org - so it looks like it's a Bakery issue.
Comment #2
silverwing CreditAttribution: silverwing commented*not sure where the best place for this issue is - begin musical queues? :) *
Comment #3
drummWhat is happening is user IDs from subsites, like groups.drupal.org, are being used as if they were on Drupal.org in our Solr multisite setup. It could be a bug in our module or theme overrides, or in apachesolr_multisitesearch itself.
Comment #4
drummdrupalorg_crosssite_preprocess_search_result()
uses the user link created byapachesolr_search_node_result()
, that apachesolr_multisite_search does not appear to override. I think apachesolr_multisite_search should override$result['user']
to either link to the correct site, or just have the unlinked username.Comment #5
drummTag
Comment #6
jhodgdonI think this is a major-level issue. Putting up wrong links in search results is terrible. I typically use d.o search to find a link to a user profile so I can use a contact form, and if this is giving me bad links, it's really a problem.
Comment #7
drummLet's make this D7.
Comment #8
m1r1k CreditAttribution: m1r1k commentedIt was fixed so this issue is irrelevant:
Comment #9
jhodgdonAgreed, this is fixed. On drupal.org now it only makes user names into links if the search result is on www.drupal.org and not if it comes from a groups.drupal.org or other site.