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.

CommentFileSizeAuthor
mike.patch1.23 KBfat-eddie

Comments

ebeyrent’s picture

Assigned: Unassigned » ebeyrent
Status: Needs review » Fixed

Thanks for the patch!

I have fixed the issue and committed.

Status: Fixed » Closed (fixed)

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