More complicated fapi elements that have #parents to define where their values get stored [for example the formatting options outputted by filter_form()] do not get populated with a #default_value. They in fact get any #default_value set clobbered.
Patch respects of #parents array if it exists, and uses it to get any $settings that might exist.
| Comment | File | Size | Author |
|---|---|---|---|
| feedapi.20080501.patch | 2.13 KB | ekes |
Comments
Comment #1
aron novakThank you, i committed the patch. The patch is fine according to the coder module and it passes the simpletest tests too. :)
Can i ask you to test the fix w/ 6.x-1.x-dev branch too?
Comment #2
mustafau commentedFollowing notice appears in 6.x-1.x;
notice: Undefined index: #parents in feedapi.module on line 1349.Comment #3
aron novakThis notice is killed now.
Comment #4
aron novak