I very much appreciate all the hard work that has been put into this module and I want to do things correctly avoiding needing to modify the module code directly however I ran into the issue where for some reason the node settings were not getting saved. I did a search and it appears that not everyone has this issue either because they already have the data stored in their database or some kind of magic. After doing some debugging I tracked it down to the drupal_process_form function.

It was failing on:

if ((!empty($form['#programmed'])) || (!empty($form['#post']) && (isset($form['#post']['form_id']) && ($form['#post']['form_id'] == $form_id)))) {

of my 6.19 install. To correct the issue I then modified the calais_admin_settings function in the module by adding

$form['#post']['form_id'] = 'calais_admin_settings'; after $form = system_settings_form($form);

Is this the best way to do this or is there something I am missing? If it is the correct way to do it can we get it committed?

Thanks In Advance.

Comments

ElusiveMind’s picture

Issue summary: View changes
Status: Active » Fixed

This appears to have been fixed long ago.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.