#6489: schema generate fails if there is a model which doesn't extend AppModel --------------------------+------------------------------------------------- Reporter: dho | Type: Bug Status: new | Priority: Low Milestone: 1.2.x.x | Component: Schema Version: 1.2 Final | Severity: Normal Keywords: | Php_version: n/a Cake_version: rev. 8218 | --------------------------+------------------------------------------------- If you have a model which doesn't extend AppModel in app/models, and you run {{{ cake schema generate }}} then you get the following errors (Example is the class which doesn't extend AppModel): {{{ Notice: Undefined property: Example::$useTable in /home/dho/projects/test/cake/libs/model/schema.php on line 212
Fatal error: Call to undefined method Example::setDataSource() in /home/dho/projects/test/cake/libs/model/schema.php on line 213 }}} -- Ticket URL: <https://trac.cakephp.org/ticket/6489> CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/> Cake is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tickets cakephp" group. To post to this group, send email to tickets-cakephp@googlegroups.com To unsubscribe from this group, send email to tickets-cakephp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tickets-cakephp?hl=en -~----------~----~----~----~------~----~------~--~---