CakeDC/categories — Issue #3: Getting error while saving a new category -
Author: hpmmrajbs
Created: 2011-10-13 11:58:53+00:00
State: open

Hi,
I just configured your plugin but when attempted to add the new category, got this error message

Warning (512): SQL Error: 1364: Field 'model' doesn't have a default value [CORE\cake\libs\model\datasources\dbo_source.php, line 684]

Query: INSERT INTO `categories` (`record_count`, `category_id`, `name`, `description`, `user_id`, `modified`, `created`, `lft`, `rght`, `slug`, `id`) VALUES (0, '', 'Test',

In Add view, the category drop down seems to be blank but I am not sure how to pass in the model? Please advise.