#5806: DboOracle class has duplicate $config
------------------------+---------------------------------------------------
   Reporter:  junmin    |          Owner:  phishy 
       Type:  Bug       |         Status:  new    
   Priority:  Critical  |      Milestone:  1.2.x.x
  Component:  Oracle    |        Version:  RC3    
   Severity:  Normal    |       Keywords:         
Php_version:  PHP 5     |   Cake_version:         
------------------------+---------------------------------------------------
 DboOracle class extends from DboSource but redefined $config, which cause
 the $config reset to null. so connection() function will failed since the
 config is null array.

 <?php
 /* SVN FILE: $Id: dbo_oracle.php 7690 2008-10-02 04:56:53Z nate $ */
 /**
  * Oracle layer for DBO.
  *
  * Long description for file
  *
  * PHP versions 4 and 5
  *
  * CakePHP(tm) :  Rapid Development Framework <http://www.cakephp.org/>
  * Copyright 2005-2008, Cake Software Foundation, Inc.
  *                                                              1785 E.
 Sahara Avenue, Suite 490-204
  *                                                              Las Vegas,
 Nevada 89104
  *
  * Licensed under The MIT License
  * Redistributions of files must retain the above copyright notice.
  *
  * @filesource
  * @copyright           Copyright 2005-2008, Cake Software Foundation,
 Inc.
  * @link
 http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
  * @package                     cake
  * @subpackage          cake.cake.libs.model.datasources.dbo
  * @since                       CakePHP v 1.2.0.4041
  * @version                     $Revision: 7690 $
  * @modifiedby          $LastChangedBy: nate $
  * @lastmodified        $Date: 2008-10-02 00:56:53 -0400 (Thu, 02 Oct
 2008) $
  * @license                     http://www.opensource.org/licenses/mit-
 license.php The MIT License
  */
 /**
  * Short description for class.
  *
  * Long description for class
  *
  * @package             cake
  * @subpackage  cake.cake.libs.model.datasources.dbo
  */
 class DboOracle extends DboSource {
 /**
  * Enter description here...
  *
  * @var unknown_type
  * @access public
  */
         var $config;

 =====
 the above $config is redundant and will cause connection() failed.

-- 
Ticket URL: <https://trac.cakephp.org/ticket/5806>
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to