Download & Extend

Profile links on Search results pages go to wrong profiles

Project:Apache Solr Multisite Search
Version:6.x-3.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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

#1

It 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.

#2

Project:Drupal.org webmasters» Drupal.org infrastructure
Component:Broken link» Solr

*not sure where the best place for this issue is - begin musical queues? :) *

#3

What 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.

#4

Project:Drupal.org infrastructure» Apache Solr Multisite Search
Version:<none>» 6.x-3.x-dev
Component:Solr» User interface

drupalorg_crosssite_preprocess_search_result() uses the user link created by apachesolr_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.