[Vtigercrm-commits] [vtiger development] #7348: adhoc reporting parameters for created and modified time fail

vtiger development vtiger-tickets at trac.vtiger.com
Sat Feb 11 11:39:56 PST 2012


#7348: adhoc reporting parameters for created and modified time fail
----------------------------+-----------------------------------------------
 Reporter:  joebordes       |        Owner:  developer
     Type:  Need More Info  |       Status:  new      
 Priority:  unassigned      |    Milestone:  5.4.0    
Component:  vtigercrm       |      Version:  5.3.0    
 Severity:  Medium          |   Resolution:           
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by joebordes):

 Ok, so I understand that the correct solution is to convert T~O to DT~O
 for the createdtime and modifiedtime fields. In fact I have seen in the
 migration code these instructions given as you say and also looked at the
 database for migrated clients and the fields are correctly DT~O.
 The problem is with all my new installs. The
 modules/Users/DefaultDataPopulator.php still creates these fields with T~O
 which is wrong. This problem affects both the 5.3.0 and the current 5.4.0
 branches.
 So the way to fix this is:
 - for existing 5.3.0 clients, create a script/sql to change vtiger_field
 typeofdata from T~O to DT~O for these fields
 - modify the DefaultDataPopulator.php so it will create the field metadata
 correctly for future installs

 correct?

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



More information about the vtigercrm-commits mailing list