[Vtigercrm-commits] [vtiger development] #6429: Thunderbird 5.1.0RC Extension can't import > 100 Contacts

vtiger development vtiger-tickets at trac.vtiger.com
Fri Nov 20 07:29:16 EST 2009


#6429: Thunderbird 5.1.0RC Extension can't import > 100 Contacts
-----------------------------+----------------------------------------------
 Reporter:  alanlord         |       Owner:  developer
     Type:  defect           |      Status:  new      
 Priority:  minor            |   Milestone:  5.2.0    
Component:  thunderbirdextn  |     Version:  5.1.0    
 Keywords:                   |  
-----------------------------+----------------------------------------------
 There is a LIMIT statement set in include/Webservices/VTQL_Parser.php
 which restricts the number of rows returned to a maximum of 100.

 In the TB extension itself there is no limit or check, so if you have >
 100 contacts the Import will fail. If you increase the LIMIT clause above
 approx 400 then typically the web server errors with a 414 (URL Over
 maximum length).

 The fix is to make the TB Extension grab records in chunks of <= 100.

 I attach a patch for two files in the chrome/vtiger.jar->content/vtiger
 directory: importab.js and importab.xul. I've added a simple progress
 meter to the dialogue for long downloads.

 The mod to importab.js uses a var "incr" to specify the quantity of rows
 to get with each request. Experiments have shown little performance
 difference between 50 & 100.

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6429>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list