Not signed in (Sign In)
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthoralake
    • CommentTimeSep 27th 2007 edited
     

    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
    
    •  
      CommentAuthorbermi
    • CommentTimeSep 27th 2007
     

    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.

Add your comments
    Username Password
  • Format comments as