[Solar-talk] PHP Fatal error: Uncaughtexception'Solar_Controller_Page_Exception_DuringFetch'

Kilbride, James P. James.Kilbride at gd-ais.com
Tue Nov 13 16:20:16 CST 2007


Greatly. while I may beat my guys up for using all caps for table names,
the point is really that it should be the developers choice of
capitalization style used and if mysql is honoring capitalization, and
we do have to tie into existing tables, then we wouldn't be able to do
it with what you've done so far(and there will be a need to tie to
existing tables going forward. I don't always get to redesign everything
from the group up.)

James Kilbride 

-----Original Message-----
From: solar-talk-bounces at lists.solarphp.com
[mailto:solar-talk-bounces at lists.solarphp.com] On Behalf Of Paul M Jones
Sent: Tuesday, November 13, 2007 4:55 PM
To: solar-talk at lists.solarphp.com
Subject: Re: [Solar-talk] PHP Fatal error:
Uncaughtexception'Solar_Controller_Page_Exception_DuringFetch'


On Nov 13, 2007, at 3:51 PM, Rodrigo Moraes wrote:

> On Nov 13, 2007 7:44 PM, Kilbride, James P. wrote:
>> Does solar always lowercase table names when looking for them(so if 
>> they are in the database in all caps it's going to fail?) or does it 
>> preserve the capitalization of the names when we put them into the 
>> fields? I seem to get the impression that it is not preserving 
>> capitalization quite right.
>
> It seem that Solar_Sql_Adapter/Select don't change the table names but

> Solar_Sql_Model do. In line 2010:
>
>     $this->_table_name = strtolower($this->_table_name);

Ah so.  I suppose I could assume that the end-developer is smart enough
to enter the table name properly and remove that bit.  ;-)

James, et. al., would that help?



--

Paul M. Jones  <http://paul-m-jones.com>

Solar: Simple Object Library and Application Repository for PHP5.
<http://solarphp.com>

Join the Solar community wiki!  <http://solarphp.org>

Savant: The simple, elegant, and powerful solution for templates in PHP.
<http://phpsavant.com>


_______________________________________________
Solar-talk mailing list
Solar-talk at lists.solarphp.com
http://mailman-mail3.webfaction.com/listinfo/solar-talk



More information about the Solar-talk mailing list