Apache/2.2.3 (Mandriva Linux/PREFORK-1mdv2007.0)
PHP/5.1.6
mysql 5.0.24a
Clean install from CVS head.

When going to ?q=admin/settings/filters/add I get the following:
notice: Trying to get property of non-object in /var/www/drupal6cvs/modules/filter/filter.module on line 375.
notice: Trying to get property of non-object in /var/www/drupal6cvs/modules/filter/filter.module on line 383.
notice: Trying to get property of non-object in /var/www/drupal6cvs/modules/filter/filter.module on line 396.
notice: Trying to get property of non-object in /var/www/drupal6cvs/modules/filter/filter.module on line 396.
notice: Trying to get property of non-object in /var/www/drupal6cvs/modules/filter/filter.module on line 407.

Aside from the error the input format is added normally, so the functionality itself seems to be ok.

Comments

jpoesen’s picture

I get a different error when loading the same url (?q=admin/settings/filters/add)

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'filter_admin_format_form' was given in /home/symbi/workspace/drupal-6.0-beta1/includes/form.inc on line 271.

my environment:
ubuntu feisty + lighttpd-1.4.13 (ssl) + mysql (5.0.38-Ubuntu_0ubuntu1-log)

I'm guessing both issues are related.

lyricnz’s picture

If I enable BlogAPI module, and use the form at /admin/settings/blogapi, I don't see this situation - I just get "Blog types field is required."

$form['blogapi_node_types'] = array(
'#type' => 'checkboxes',
'#title' => t('Blog types'),
'#required' => TRUE,
'#default_value' => variable_get('blogapi_node_types', $defaults),
'#options' => $node_types,
'#description' => t('Select the content types for which you wish to enable posting via blogapi. Each type will appear as a different "blog" in the client application (if supported).')
);

lyricnz’s picture

Sorry, I mean to say "this doesn't look like an underlying error in checkboxes/required".

I don't see this issue with the filter module either.

lyricnz’s picture

jp - it looks like your issue was resolved a couple of days ago (since beta1)

http://drupal.org/node/175779

http://cvs.drupal.org/viewvc.py/drupal/drupal/modules/filter/filter.modu...

Submitter - I'm going to make this as closed, please reopen if you find it again. Thanks!

lyricnz’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)