The result of a #type => checkboxes call changed. and my module is misbehaving :-(
In beta 2 the array from a group of checkboxes created with a #type => checkboxes call would look something like this:
[file] => Array
(
[files/uploads/jsdomenu.config.js] => 1
[files/uploads/jsdomenu.inc.js] => 0
[files/uploads/jsdomenu.js] => 0
[files/uploads/jsdomenubar.js] => 0
)
Now in beta3 it looks like this:
[file] => Array
(
[files/uploads/jsdomenu.config.js] => files/uploads/jsdomenu.config.js
[files/uploads/jsdomenu.inc.js] => 0
[files/uploads/jsdomenu.js] => 0
[files/uploads/jsdomenubar.js] => 0
)
I had validation code depending on that 1!! *argh*
Anyway, it should not be too much of a problem to work around that. The real problem is that when validation fails, or preview is used, all checkboxes become checked automagically. That did not happen in beta2.
this is how I call the checkboxes:
$form['files']['file'] = array(
'#type' => 'checkboxes',
'#title' => t('Files'),
'#default_value' => $node->file,
'#options' => $files,
);
And this is a typical $files for the #options:
Array
(
[files/uploads/jsdomenu.config.js] => jsdomenu.config.js