OG tracker showing nodes twice after upgrading core to 6.14

ajayg - September 21, 2009 - 04:52
Project:Organic groups
Version:6.x-1.3
Component:og_access.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

Since I upgraded to core 6.14, OG tracker suddenly started to show double nodes. This affects non-admin users and only node under OG (og access)
Selecting the "distinct" option under og tracker view helped but there is a performance pentaly. I didn't have this penalty when using core 6.12 (I went from 6.12-6.14)

It seems this seems to be related to this issue #284392: db_rewrite_sql causing issues with DISTINCT

#1

moshe weitzman - September 22, 2009 - 03:07

The fix is going to come from core, i hope. Nothing OG can do here.

#2

ajayg - September 22, 2009 - 15:51

I just opened this here so OG users are aware of this.

#3

brisath - September 23, 2009 - 19:06

Does anyone know if the latest Dev versions of Drupal core resolve this problem?

#4

ajayg - September 23, 2009 - 21:46

As of today nope. There is a patch discussed here #284392: db_rewrite_sql causing issues with DISTINCT . When it is ready in core, it will solve the problem.

#5

brisath - October 1, 2009 - 02:14

I'm still watching the discussion linked in #4. I haven't seen any addition of the discussed patch to core yet. Are we sure that is the issue that will solve this OG double post problem in views? In other words, there is no solution but to wait until it goes into at least a dev version of Drupal core (since I am not patch literate nor do I want to risk a patch right now)?

#6

mathieuhelie - October 3, 2009 - 01:07

Doubling occurs in all OG views, as well as custom views where group nodes are mixed with other content types (only group nodes appear twice).

Does not occur for users with administrator privileges.

#7

Bernardine - October 20, 2009 - 17:41

Subscribing

#8

Hunabku - October 24, 2009 - 00:24

Subscribing

#9

glen201 - October 25, 2009 - 20:20

Ug, I've never seen a point release of core break so much as 6.14. Getting a little trigger happy with 6.x in the face of the 7.x release, I presume. I'm staying away, and I turned off the Update Status updates so I don't get bothered with being out of date. :)

#10

dugh - October 29, 2009 - 05:47

subscribe

#11

Pongolyn - November 3, 2009 - 23:35

subscribing

#12

mrosas - November 4, 2009 - 23:07

subscribing

#13

Lenn-art - November 5, 2009 - 13:04

subscribe!

#14

moshe weitzman - November 13, 2009 - 05:27
Status:active» duplicate

lets follow #284392: db_rewrite_sql causing issues with DISTINCT as ajay suggests

#15

Blue - November 28, 2009 - 10:24

I have the same problem in OG 2.0

#16

bricef - November 30, 2009 - 10:05

Hello,

I applied the patch #257 from http://drupal.org/node/284392 and i still have a problem. When i add a node to one my organic groups i can see this message :

Duplicate entry '304' for key 1 query: INSERT INTO og_access_post (nid, og_public) VALUES (304, 0) in /var/www/html/trunk/includes/common.inc on line 3468.

 
 

Drupal is a registered trademark of Dries Buytaert.