Closed (fixed)
Project:
ACL
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Oct 2010 at 21:09 UTC
Updated:
3 Jan 2014 at 02:04 UTC
Jump to comment: Most recent
Comments
Comment #1
good_man commentedwell it's an include issue, I tried to make it just-like-api, altering the include function for acl.admin.inc from:
to
but it didn't work. I tried to move all code from acl.admin.inc into acl.module and it's working now, anyhow it's a strange include since it's called from another module (content access), in normal cases you just set the 'file' attribute in hook_menu() of the module and Drupal takes care of the rest, but here content access is calling acl_edit_form() and this function also including admin.inc & calling _acl_edit_form() and here is WSOD occurs, form.inc seems to be lost in this chain.
I'll try to find a better way to solve it, any suggestion is very welcomed.
Comment #2
salvisThe problem is that core reloads the form from the cache and it needs help to find the required include files. This is a new requirement.
This requires changing the signature of acl_edit_form() — all client modules must adjust accordingly!
Committed to the -dev version. Give it up to 12h to be repackaged.