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 |
Jump to:
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.
| Attachment | Size |
|---|---|
| mike.patch | 1.23 KB |

#1
Thanks for the patch!
I have fixed the issue and committed.
#2
Automatically closed -- issue fixed for 2 weeks with no activity.