[Vtigercrm-developers] [PATCH] PearDatabase.php sanity check in Move()

Gopal gopals at vtiger.com
Fri May 11 11:34:35 PDT 2007


Hi Enrico,

Thanks for your suggestions to take vtiger to next level.

Please don't hesitate to highlight issues (if any) in various places. In 
fact Philip has tried to integrate your patch with our 5.0.3 release. 
However, he is unsuccessful. It will be of great help, if you could 
spend your valuable time on our forthcoming 5.0.3 release. I am 
confident, with our community support we can release a better product.

Best Regards,
Gopal
(vtiger Team)

Enrico Weigelt wrote:
> * Philip <philip at vtiger.com> schrieb:
>
> Hi,
>
>   
>> When tested the code i had the following exception thrown in the screen.
>>
>> *Fatal error*: Uncaught exception 'Exception' with message 'given result 
>> set is not an object' in 
>> /home/crm-test3/donot_delete/vtigerCRM5/apache/htdocs/vtigerCRM/include/database/PearDatabase.php:442 
>> Stack trace: #0 
>> /home/crm-test3/donot_delete/vtigerCRM5/apache/htdocs/vtigerCRM/modules/Potentials/ListView.php(183): 
>> PearDatabase->query_result(false, 0, 'count') #1 
>> /home/crm-test3/donot_delete/vtigerCRM5/apache/htdocs/vtigerCRM/modules/Potentials/index.php(29): 
>> include('/home/crm-test3...') #2 
>> /home/crm-test3/donot_delete/vtigerCRM5/apache/htdocs/vtigerCRM/include/Ajax/CommonAjax.php(12): 
>> require_once('/home/crm-test3...') #3 
>> /home/crm-test3/donot_delete/vtigerCRM5/apache/htdocs/vtigerCRM/modules/Potentials/PotentialsAjax.php(11): 
>> require_once('/home/crm-test3...') #4 
>> /home/crm-test3/donot_delete/vtigerCRM5/apache/htdocs/vtigerCRM/index.php(582): 
>> include('/home/crm-test3...') #5 {main} thrown in 
>> */home/crm-test3/donot_delete/vtigerCRM5/apache/htdocs/vtigerCRM/include/database/PearDatabase.php* 
>> on line *442
>>     
>
> Looks like an bug in Potentials/ListView.php.
> Probably an query failed and so $result is empty.
>
> We've lots of such issues everywhere :(
>
>
>
> cu
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20070512/b5575516/attachment-0003.html 


More information about the vtigercrm-developers mailing list