Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 Apr 2010 at 15:39 UTC
Updated:
2 Jun 2010 at 08:00 UTC
Hi,
I defined a relationship context with 'settings form submit' callback, but I have no values in it.
You invoke this callback like:
$relationship['settings form submit']($form, $form_state['values']['relationship_settings'], $form_state);
I have found, that there is no $form_state['values']['relationship_settings'] array,
but $form_state['values']['relationship']['relationship_settings'].
That is working In ctools_edit_relationship_form_validate() function.
I think, that is a small bug ;o)
Comments
Comment #1
sdboyer commentedNext time, please file a proper patch: http://drupal.org/patch
Fixed, thanks.
Comment #2
pokurek commentedSorry about that, I will. Promis.