Closed (duplicate)
Project:
AHAH helper
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2009 at 18:38 UTC
Updated:
20 Apr 2009 at 11:52 UTC
If you place code in an .inc file and use 'file' in the menu definition, ahah_helper throws a stack trace when trying to pass the file to require_once in ahah_helper_render.
As you can see in the code snippet below the test is on the value from ['file'] but the value passed to require_once is passed ['#file'] which doesn't exist.
if (isset($form_state['storage']['#ahah_helper']['file'])) {
require_once($form_state['storage']['#ahah_helper']['#file']);
}
Just remove the hash and things work.
Comments
Comment #1
wulff commentedThis is a duplicate of #368328: caching of built forms prevents form_state['values'] to be populated from $_POST.