Updating cck field (tested on numeric and checkbox) does not update field and return this into log:

Missing argument 2 for slickgrid_node_form_pre_render(), called in /home/site/www/includes/common.inc on line 2935 and defined dans /home/site/www/modules/slickgrid/slickgrid.module à la ligne 83

Same problem with 1.3 and dev version

CommentFileSizeAuthor
#3 slickgrid.patch6.66 KBasad.hasan

Comments

ledom’s picture

No errors checking checkbox, but not uncheck...

Editing line 836 to function slickgrid_node_form_pre_render(&$form) and then no erros into log. But field always not updating, without errors in console...

Here is what update Post is showing:

{"status":true,"op":"update","errors":null,"updated":{"856":{"vid":"2941","value":"Lundi"}},"field_name":"field_day","field_id":"field_day_value","messages":[{"type":"status","message":"Product1 was updated succesfully."}]}

ledom’s picture

After testing, field is updated only if one or more chexboxes checked.
If field is empty (no checkboxes checked), the last value is showing and it do not update.

No problem with Selection List type cck fields. It seems the problem is caused by empty values with checkboxes and as nothing to do logged error message about missing argument.

asad.hasan’s picture

StatusFileSize
new6.66 KB

The following patch fixes the issue for me in PHP 5.3+