[Vtigercrm-developers] Bug fix for Outlook plug in error "Invalid

Jeri John jeri at vtiger.com
Wed Aug 30 11:28:36 PDT 2006




Hello Tim,
          Thanks for your feedbacks.

This issue has been handled  in the following way.

Vtiger doesn't have middle name which outlook has .

During adding contacts to Outlook

So We will split the last name into words(if more than one word exists).
The last word is assigned to the lastname field and all other words are assigned to the middlename field

During adding contacts and updating contacts in Vtiger

If middle name is available in Outlook we will join middlename and lastname and assign to lastname field 
If middlename is empty and lastname is available we will assign the lastname to the lastname field
If middle name and lastname is empty we will assign the firstname to the lastname field as lastname is mandatory in vtigerCRM.




------------------------------------------
D.Jeri John
Skype: jerijohn_vtiger
Blog : http://jerry.vtiger.com/
Toll Free: +1 877 788 4437






---- On Wed, 30 Aug 2006 Tim Smith <smith.timsmith at gmail.com> wrote ---- 

I just posted a bug fix for the Outlook plug in error "Invalid return value from vTiger CRM" on the forum.
http://forums.vtiger.com/viewtopic.php?p=31365#31365


Vtiger doesn't have a middle name field and the bug occurred in trying to parse the middle name out.  I would like to see the logic for determining what a middle name is extracted from vtigerolservice.php and moved to the outlook plug in.

Reasons:
1. Users are prevented from putting spaces in last names.
2. Middle name problems are specific to Outlook.
3. If it is decided that we should have middle names then add a middle name field.

This is my proposed change:
1. Remove the support for "middlename" from vtigerolservice.php
2. Add a setting in the Outlook preference for where to store the middle name.  There will be three selections.  "Do not store middle name", "Store middle name in the First Name field", "Store middle name in the Last Name field".

Though unrelated, I would also like to:
Allow attaching emails to Leads and Opportunities.
Create an install using Setup2Go or Installer2Go (http://www.dev4pc.com/) which is a free installation program.  This would allow anyone to create an install script.  

Launch a configuration UI at the end of the install process so the user will be prompted for their username/password/url.  Let this be defaulted through an ini file included in the install script.  Example: username=%windowslogin%; password=; url=http://www.mycompany.com/vtiger/
Check if the plug in is loaded before uninstalling.

Automatically connect to the vtiger server.  e.g. Don't require logging in first.  If they click on the contacts folder and click Sync, then attempt to login and tell them if there is a problem.
If we can get a consensus then I will make the changes.

Regards,
Tim

_______________________________________________
Get started with creating presentations online - http://zohoshow.com?vt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20060830/c4bd256f/attachment-0004.html 


More information about the vtigercrm-developers mailing list