_ngpcampaign_issues_install_cck() creates a field_weight that's totally broken. The field doesn't work and gives errors on the 'manage fields' page for that content type. I was able to fix mine with:

UPDATE `x`.`content_node_field` SET `type` = 'number_integer',
`db_columns` = 'a:1:{s:5:"value";a:3:{s:4:"type";s:3:"int";s:8:"not null";b:0;s:8:"sortable";b:1;}}' WHERE `content_node_field`.`field_name` = 'field_weight' LIMIT 1 ;
UPDATE `x`.`content_node_field_instance` SET `widget_type` = 'number',
`widget_module` = 'number',
`widget_active` = '1' WHERE `content_node_field_instance`.`field_name` = 'field_weight' AND `content_node_field_instance`.`type_name` = 'issue' LIMIT 1 ;
UPDATE `x`.`content_node_field_instance` SET `widget_settings` = 'a:2:{s:13:"default_value";a:1:{i:0;a:2:{s:5:"value";s:0:"";s:14:"_error_element";s:45:"default_value_widget][field_weight2][0][value";}}s:17:"default_value_php";N;}' WHERE `content_node_field_instance`.`field_name` = 'field_weight' AND `content_node_field_instance`.`type_name` = 'issue' LIMIT 1 ;

Comments

seanr’s picture

Status: Active » Fixed

It should be fixed in the latest version.

Status: Fixed » Closed (fixed)

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