Active
Project:
Slickgrid
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Dec 2011 at 12:20 UTC
Updated:
18 Sep 2013 at 17:13 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | slickgrid.patch | 6.66 KB | asad.hasan |
Comments
Comment #1
ledom commentedNo 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."}]}
Comment #2
ledom commentedAfter 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.
Comment #3
asad.hasan commentedThe following patch fixes the issue for me in PHP 5.3+