Closed (fixed)
Project:
AHAH Forms Framework
Version:
5.x-1.5-5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2008 at 06:08 UTC
Updated:
21 Jul 2009 at 21:15 UTC
Fatal error: Call to undefined function dynamic_subform_get_embedded() in /Users/amorton/Sites/d5/sites/all/modules/ahah_forms/examples/todos/todos.module on line 94
There's a check for the ahah_forms module before calling a dynamic_subform function so I initially assuming it was just checking for the wrong module. After changing it to check for the dynamic_subform I tried adding some todo items and ran into:
Fatal error: Call to undefined function dynamic_subform_get_prepped() in /Users/amorton/Sites/d5/sites/all/modules/ahah_forms/examples/todos/todos.module on line 402
So I'm assuming that the module really does depend on the dynamic_subform module and adjusting it accordingly.
| Comment | File | Size | Author |
|---|---|---|---|
| ahah_forms_examples.diff | 1.35 KB | drewish |
Comments
Comment #1
starbow commentedI afraid you are misunderstanding what that chunk of code does. That bit is there as an example of who to write code that can work whether or not the ahah module is enabled. It does assume that if the ahah module is around, the dynamic subforms module will be too (which is why they are both dependencies in the .info file).
Comment #2
drewish commentedah, i think when i'd tested it you still had the bug in the .info file that prevented the dependencies from being enforced. perhaps the best course of action would be to document that the commented out code is there for demonstration purposes.
Comment #3
starbow commented