Closed (duplicate)
Project:
Profile 2
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2011 at 18:57 UTC
Updated:
24 Apr 2011 at 00:33 UTC
I was wondering why I have duplicate entries in my profile views and I suspect that's because the profile table is quite messed up (see attached screenshot).
At the moment I have 2 profile types: 2_espace_abonne and 3_film
All the 1_annuaire / 1_main / main are old profiles I deleted. But they are still referenced to users in this table. Even because I once modified 2_espace_abonne machine name and renamed it again with the same name, I now have a user (id 69) with is referenced twice to the same Profile type.
So I backed up my database and deleted the rows I don't need to clean up things manually and renumbered sequentially the pids. It worked , my view has no duplicates now.
| Comment | File | Size | Author |
|---|---|---|---|
| Capture d’écran 2011-04-22 à 20.41.16.png | 75.51 KB | Jerome F |
Comments
Comment #1
Jerome F commentedSomething else seems strange, one of my users Uid: 68 is just missing in this table, and I really wonder who are users 26 and 62 ! They just don't exist in the users table - so perhaps some test users I once deleted, but I'm not sure. Once again I corrected that manually in phpMyAdmin
Comment #2
Jerome F commentedI guess this is a duplicate of http://drupal.org/node/1065860