1 to 2 of 2
PHP Notice:
Undefined variable: class_name in /home/alan/develop/Software/akelos/lib/utils/generators/scaffold/templates/model_unit_test.tpl on line 3.
I got this message while executing ./script/generate scaffold Fi_category on the following table:
$this->createTable('fi_categories',
'changed T,'.
'id I(11) UNSIGNED NOTNULL PRIMARY AUTOINCREMENT,'. // TreeKey
'identifier C(11) NOTNULL,'.
'level I(2) UNSIGNED NOTNULL,'.
'lft I(11),'.
'rgt I(11),'.
'parnt C(11),'.
'data_type C(50) NOTNULL,'.
'top C(1)'
); // Key Id identifier,lft
You can ignore that Notice until you run your unit tests for fi_category. Then you'll need to edit test/unit/app/models/fi_category.php and remove the comment block on the top.
I appreciate you reported this issue which has been fixed on rev.377
It would be better if we report bugs from now on in the Akelos Trac. I'll make it clear on this category.
1 to 2 of 2