[Vtigercrm-developers] Google Integration duplicates on Google Calendar

Richard Hills - Technologywise richard at tw.co.nz
Mon Jul 20 20:55:45 GMT 2015


If you're not using UTC as your base timezone then this change is correct.

In the end, nobody should be using anything other that UTC as the base 
timezone, so yes you should revert and update your time/date fields in 
the database.

On 20/07/15 19:03, Simone Travaglini wrote:
> Hello, so we need to revert following change?
>
> 2015-07-09 3:03 GMT+02:00 Richard Hills - Technologywise 
> <richard at tw.co.nz <mailto:richard at tw.co.nz>>:
>
>     We saw some issues with this due to our system not running UTC as
>     the base timezone.
>
>     Solution was to update the following line to the one supplied
>     (this worked for our specific installation but I'm unsure if it is
>     a universal fix):
>>             $timeZone = new DateTimeZone('UTC');
>>             $timeZone = new DateTimeZone(date_default_timezone_get());
>
>     I believe the only place this was applied was in the file
>     /modules/Google/models/Calendar.php
>
>     We were seeing a multitude of issues with imported times coming in
>     as the wrong timezone, so it may very well be that this is not at
>     all related to your issue, however prior to this change we were
>     also (sometimes) getting duplication.
>
>
>
>
>     On 08/07/15 21:00, PlaymaN Tepes wrote:
>>     Hi all,
>>
>>     In my Google Calendar Synchronization I'm having some duplication
>>     problems.
>>
>>     I have an Event on Gmail Calendar which I syncronize with Vtiger.
>>     This is OK. The problem is If I synchronize again: since I have
>>     an event in vTiger (from last synchronization), this record goes
>>     to Google Calendar and make duplicate. (Is the same Event).
>>
>>     Then, If I syncronize again, I will have 4 Events in Gmail, then
>>     8, then 16...
>>
>>     Anyone suffered things like this?
>>
>>     How should I proceed?
>>
>>     Thank you so much,
>>     Adrián Granado.
>>
>>
>>     _______________________________________________
>>     http://www.vtiger.com/
>
>     -- 
>     Richard Hills
>     TechnologyWise Ltd, Tauranga, NZ
>     richard at tw.co.nz  <mailto:richard at tw.co.nz>
>     www.technologywise.co.nz  <http://www.technologywise.co.nz>
>     ph:+64 (0)7 571 1060  <tel:%2B64%20%280%297%20571%201060>
>     fax:+64 (0)7 571 1061  <tel:%2B64%20%280%297%20571%201061>
>
>
>     _______________________________________________
>     http://www.vtiger.com/
>
>
>
>
> -- 
> Simone Travaglini
> 328 5499846
> Linkedin: Simone Travaglini
>
>
> Rispetta l'ambiente: non stampare questa mail se non ti è veramente 
> necessario!
>
>
> _______________________________________________
> http://www.vtiger.com/

-- 
Richard Hills
TechnologyWise Ltd, Tauranga, NZ
richard at tw.co.nz
www.technologywise.co.nz
ph: +64 (0)7 571 1060
fax: +64 (0)7 571 1061

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150721/5f1e5b15/attachment.html>


More information about the vtigercrm-developers mailing list