Closed (fixed)
Project:
NGP Campaign Features
Version:
6.x-1.2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2009 at 16:45 UTC
Updated:
5 Feb 2010 at 16:40 UTC
_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
Comment #1
seanrIt should be fixed in the latest version.