[Vtigercrm-commits] [vtiger development] #7634: Record retrieve should throw exception instead of die!

vtiger development vtiger-tickets at trac.vtiger.com
Fri Jan 4 01:53:49 PST 2013


#7634: Record retrieve should throw exception instead of die!
-----------------------+----------------------------------------------------
 Reporter:  prasad     |        Owner:  developer 
     Type:  defect     |       Status:  new       
 Priority:  major      |    Milestone:  Unassigned
Component:  vtigercrm  |      Version:  6.0 ea    
 Severity:  Medium     |   Resolution:            
 Keywords:             |  
-----------------------+----------------------------------------------------
Comment (by prasad):

 data/CRMEntity.php

 {{{
 function retrieve_entity_info($record, $module) {
     // ...
     if (isset($this->table_name)) {
         // ...
         if ($adb->query_result($result[$this->table_name], 0,
 $mod_index_col) == '') {
             throw new Exception ("Record state inconsistent.");
         }
    }
 }
 }}}

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7634#comment:2>
vtiger development <http://trac.vtiger.com/>
vtiger CRM



More information about the vtigercrm-commits mailing list