#6383: Bake allows creation of Controller with blank Helper
--------------------------+-------------------------------------------------
    Reporter:  jwoodard   |          Type:  Bug       
      Status:  new        |      Priority:  Very Low  
   Milestone:  1.2.x.x    |     Component:  Controller
     Version:  1.2 Final  |      Severity:  Normal    
    Keywords:             |   Php_version:  n/a       
Cake_version:             |  
--------------------------+-------------------------------------------------
 If I bake a controller from one of my database tables, when it asks me "Do
 you want use any helpers besides <X and Y>?" If I say "yes" because I'm
 either a) not totally sure if I do, or b) curious what the bake app will
 present me with, but then don't enter anything to the next prompt, it will
 create a Controller object with the following:

 {{{
         var $helpers = array('Html', 'Form', '');
 }}}

 Which causes a nondescript PHP error when loading that controller.
 Obviously not a big problem to fix, but might be tricky to track down for
 someone new to cake and/or programming. (Since there's no handy-dandy Cake
 stacktrace, just a PHP error about an empty property.)

-- 
Ticket URL: <https://trac.cakephp.org/ticket/6383>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to