INSERT INTO clause missing field names

fat-eddie - March 17, 2009 - 22:38
Project:Permissions API
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:ebeyrent
Status:closed
Description

INSERT INTO {permission} is missing '(rid, perm, tid)' field names - without this the number of fields provided is incorrect and generates the error:

"Column count doesn't match value count at row 1 query: INSERT INTO permission VALUES(X,'Y',Z) in C:\wamp\www\sites\all\modules\permissions_api\permissions_api.module on line 142."

Patch file to fix attached for review.

AttachmentSize
mike.patch1.23 KB

#1

ebeyrent - March 25, 2009 - 16:36
Assigned to:Anonymous» ebeyrent
Status:needs review» fixed

Thanks for the patch!

I have fixed the issue and committed.

#2

System Message - April 8, 2009 - 16:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.