[Vtigercrm-commits] [vtiger development] #5375: serveral fixes for Import problems

vtiger development vtiger-tickets at trac.vtiger.com
Tue Sep 30 01:59:11 EDT 2008


#5375: serveral fixes for Import problems
-----------------------+----------------------------------------------------
 Reporter:  asha       |       Owner:  developer
     Type:  patch      |      Status:  new      
 Priority:  major      |   Milestone:  5.1.0    
Component:  vtigercrm  |     Version:  5.0.4    
 Keywords:             |  
-----------------------+----------------------------------------------------
 Contribution by Elmü :-

 Ref:- [http://forums.vtiger.com/viewtopic.php?p=71215#71215]

 This patch fixes the following problems in vtiger 5.04:

 1.) Bugfix:
 Import stops after the first 500 lines in CSV file.
 This bug is fixed. (Ticket 5255)

 2.) New feature:
 CSV files which have been exported by Microsoft Excel 2003 have semicolon
 delimiters instead of commas.
 This is a problem caused by STUPID Microsoft but it is EXTREMLY annoying
 if you have to explain to all vtiger users
 that they have to open the CSV file in Notepad and replace all semicolons
 with commas.
 Additionally this is dangerous: If the file already contains commas it
 will be corrupt after the conversion.

 Solution: A new drop down box in the import form allows to chose the type
 of delimiter. (comma or semicolon)

 3.) New Feature:
 Microsoft Excel exports CSV files in ISO-8859-1 format.
 But vtiger 5.04 expects UTF-8 files.
 All umlauts and accents ö,ü,ä,ó,ú,á get replaced with "?" after importing.

 Solution: A new drop down box in the import form allows to chose the file
 format. (ISO-8859-1 or UTF-8)
 (Do not use auto detection in PHP code! This is NOT reliable!)
 Additional formats can easily be added in the file ImportStep1.tpl.

 4.) Bugfix:
 When importing leads the fields "lastname" and "company" are mandatory.
 It makes sense that lasname is mandatory because in the Leads view it is
 used to create a link.
 If the lastname would be empty the lead could not be opened.
 But in the real live it happens that you have a CSV file with 900
 companies of which some dont yet have a contact person.
 You have to call the company first to ask who is the responsible person.
 It is EXTREMELY stupid that vtiger tells you that 469 of 900 leads have
 not been imported because a mandatory filed is missing!

 Solution: Now an empty lastname is replaced with "?????" and the sales
 person can later insert the name into the Leads list.

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




More information about the vtigercrm-commits mailing list