Needs review
Project:
Path Access
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2011 at 14:18 UTC
Updated:
17 Nov 2013 at 21:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
xurizaemonThis issue occurs when first editing a role's path access settings. When displaying the initial form, path access attempts to insert the role ID into the path_access table. Visibility is an INTEGER. MySQL masks this error by interpreting '' as 0 for INT columns.
In #1013732: Port Path Access to Drupal 7 I've simply replaced '' with 0 for the visibility column, which has the same end result and doesn't throw an SQL error.
Comment #2
xurizaemonI'm using this module on D7 not D6, so I have not tested this patch.
Comment #3
tseven commentedJust applied the patch on my D6 install and everything seems fine.
Thank you.
I hope this fix makes it into the next update.
Comment #4
mrfelton commentedFixed in git:
http://drupalcode.org/project/path_access.git/commitdiff/0465d16?hp=7e32...
Thanks.
Comment #6
rmcom commentedProposing that this path should go into a final D6 release.
Comment #7
xurizaemonSetting version, status so this can be considered for 6.x release per previous request - seems like there's a patch already here. If you want this patch in, please act by reviewing it and updating the status accordingly.