Duplicate profile data returned on search
saepl - July 15, 2009 - 16:17
| Project: | Profile Plus |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Similar to this issue http://drupal.org/node/167271 but different :)
The problem I am having is when I search for a user (in this case the term "rob") it searches for all users that have "rob" in their username or their profile - this is correct, however it only pulls data from the first user and displays it for the second user. See attached image. I have blacked out some information as it's the persons real name and location but it's the same for the first and second record.
| Attachment | Size |
|---|---|
| screenshot.JPG | 8.86 KB |

#1
Using a new install of 6.x-1.1, I do not see this problem. Make sure you have the 1.1 release and you have cleared your cache. What is your Drupal version?
#2
I have the 1.1 release I am using drupal 6.13. I also cleared cache
#3
I have the same versions and cannot duplicate this problem. Can you list all the modules you have installed on this site? One of them could be conflicting with this module.
#4
modules I have installed:
Activity Stream
Amazon
CCK
Core:
|Aggregator
|Blog
|Book
|Comment
|Contact
|Database Logging
|Forum
|Help
|Locale
|Menu
|Path
|PHP filter
|Poll
|Profile
|Search
|Statistics
|Taxonomy
|Tracker
|Trigger
|Update Status
|Upload
Custom Breadcrumbs
Date/Time:
|Calendar
|Date
|Date API
|Date Locale
|Date Popup
|Date Timezone
|Date Tools
Input Filters:
|BB Code
Mail:
|Block User Messages
|Mail Editor
|Private Messages
|Privatemsg Email Notification
Other:
|Advanced Forum
|Author Pane
|Automatic Nodetitles
|Comment upload
|Flat Comments
|Guestbook
|IMCE
|PathAuto
|Porter Stemmer
|Profile Plus
|ScriptureFilter
|Search Config
|Tiny Tiny MCE
|Token
|Token Actions
Rules
Rules Admin UI
Google Analytics
Subscriptions:
|Content Subscriptions
|Subscriptions
|Subscriptions Mail
|Subscriptions UI
|Taxonomy Subscriptions
User Relationships:
|UR-API
|UR-Defaults
|UR-Elaborations
|UR-Mailer
|UR-UI
|UR-Views
Views:
|Views
|Views Slideshow
|Views UI
phpBBtoDrupal
#5
Any ideas?
#6
The only possible candidate is the User Relationships module. However, simply disabling it might not help (and is probably required for your site). I still don't see how it could interfere anyway, as ProfilePlus does a direct database call, so pretty much avoids the interference of other modules. Take a look in your database, and make sure that your users actually have separate data. There might have been some database corruption that caused this.
#7
The user pcrob does not have anything filled out in the profile_fields table so I don't think it's database corruption. My guess is that the sql query isn't looping through the profile_field data and is only returning the first instance. However, you are saying that you are not seeing this problem on a clean install...hmmm. Not sure where to turn next.