Closed (fixed)
Project:
Conference
Version:
6.x-1.2-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Dec 2009 at 10:51 UTC
Updated:
9 Feb 2010 at 13:00 UTC
Not sure if the title of this post makes sense, but as a manager, when you go to the decisions tab (www.yoursite.com/?q=conference/manage/decision) , the name of the reviewer in the table is duplicated the second time to assign it to him and triplicated the third time it is assigned to him, 4 times on the fourth assignment and the number of times the name of the reviewer appears goes on increasing accordingly.
Please see the attached images from the demo side and mysite for clarification
How can I rectify this? Grateful for any help
| Comment | File | Size | Author |
|---|---|---|---|
| conferencemysite.JPG | 36.43 KB | lovedrupal6 | |
| conference.JPG | 26.4 KB | lovedrupal6 |
Comments
Comment #1
lovedrupal6 commentedno updates yet?
Comment #2
drupalicasso commentedI am having the exact problem, dont know what the solution is
Comment #3
finex commentedI've the same problem using drupal 6.15 and conference 6.x-1.2-beta2
Comment #4
finex commentedThis simple patch fixes the bug:
Comment #5
finex commentedComment #6
lovedrupal6 commentedThanks, It fixed the above issue.
But when a reviewer writes a review and clicks save, the following error is being displayed:
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 'r , drup_ users_roles ur , drup_ users u where r.rid = ur.rid and ur.uid = u.u' at line 1 query: SELECT u.uid FROM drup_ role r , drup_ users_roles ur , drup_ users u where r.rid = ur.rid and ur.uid = u.uid and r.rid = "5" in /public_html/yoursite/sites/all/modules/conference/conference.module on line 2068.Thanks for your help
Comment #7
finex commented#6 : I think that is a different bug.
Comment #8
lovedrupal6 commentedIt came up after
$r_users = NULL;was added
Comment #9
finex commentedDunno... :-(
Comment #10
lovedrupal6 commentedComment #11
azemel commentedHi
The bug of post #6 is like this
"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 'r , drup_ users_roles ur , drup_ users u where r.rid = ur.rid and ur.uid = u.u' at line 1 query: SELECT u.uid FROM drup_ role r , drup_ users_roles ur , drup_ users u where r.rid = ur.rid and ur.uid = u.uid and r.rid = "5" in /public_html/yoursite/sites/all/modules/conference/conference.module on line 2068."
The solution is
1. go to your public_html/yoursite/sites/all/modules/conference
2. Find the line (2068)
$muid = db_result(db_query('SELECT u.uid FROM { role } r , { users_roles } ur , { users } u WHERE r.rid = ur.rid and ur.uid = u.uid and r.rid = "%s"', variable_get('conference_role_management', '')));
3. Replace it by the line
$muid = db_result(db_query('SELECT u.uid FROM {role} r , {users_roles} ur , {users} u WHERE r.rid = ur.rid and ur.uid = u.uid and r.rid = "%s"', variable_get('conference_role_management', '')));
Hope this will help.
P.S. In my case this solve the warming and the message to the conference manager role was sent