[Solar-talk] PHP Fatal error:
Uncaughtexception'Solar_Controller_Page_Exception_DuringFetch'
Paul M Jones
pmjones at ciaweb.net
Thu Nov 15 07:46:32 CST 2007
Hi James,
>> 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?
>
> Greatly.
Committed to SVN. The _fixTableName() method now leaves the user-
defined table name completely alone.
--
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>
More information about the Solar-talk
mailing list