Closed (fixed)
Project:
Organic Group Statistics
Version:
6.x-1.0-rc2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2010 at 22:55 UTC
Updated:
27 Feb 2010 at 15:50 UTC
Problem
When a user creates a group join request and then immediately deletes that join request we see the following error:
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE nid = 0' at line 1 query: UPDATE mydb_og_statistics SET WHERE nid = 0 in /public_html/includes/common.inc on line 3467.
Steps to reproduce
1) Site admin creates a new group that requires join approval
2) User2 requests to join the group
3) User2 then selects to delete the join request
4) Join request is deleted, however the above error is thrown.
Comments
Comment #1
dawehnerCould you please try out the latest cvs version? I think i fixed the issue.
Thats not a feature of normal orgranic groups, or?
Comment #2
caschbre commentedSure, I can help test the fix. Would it be possible for you to post what changes were made and I'll apply those directly? That way I won't have to worry about other changes that are in the dev version.
1) Site admin creates a new group that requires join approval = Membership requests: Moderated - membership requests must be approved.
Comment #3
dawehnerhttp://ftp.drupal.org/files/projects/og_statistics-6.x-1.x-dev.tar.gz
Thats the current version, which contains only fixes.
Comment #4
dawehner.