Closed (fixed)
Project:
Bean (for Drupal 7)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2013 at 02:38 UTC
Updated:
15 Apr 2013 at 18:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
iztok commentedSo, I found that the real issue is in the patch made for Edit module (Spark initiative) to work. This patch was committed to core!
Issue in the Core project:
#1821906: Allow more Field API public API functions to act on a single field within an entity
Comment #2
David_Rothstein commentedThis happens because bean_form_validate() calls this:
But there is no $langcode parameter in field_attach_form_validate().
However, the core patch certainly turned that from a harmless bug into a fatal error (since there is now a new $options parameter at the end which expects an array as input), so yes, I'll reopen the core issue to discuss.
Comment #3
damienmckennaThis fixes the bug in Bean.
Comment #4
damienmckennaI've committed the patch from #3.