salesagility / SuiteCRM-Outlook-Plugin

GNU Lesser General Public License v3.0
64 stars 69 forks source link

Unable to decode AppointmentId #85

Closed eliassa closed 5 years ago

eliassa commented 5 years ago

Possible bug when trying to extract vCal uid from appointmentItem in AppointmentItemExtentions.GetVCalId() line 184

Issue

issuesuitecrmplugin

Logs

2018-11-06 13:15:08,824 | VSTA_Main | DEBUG | Outlook Kalender ItemChange
2018-11-06 13:15:08,824 | VSTA_Main | WARN  | Failed to find vCal-Uid in GlobalAppointmentId '   � � tŷ��    `���u�           h�k�&gxJ�̫u�{k!' in appointment 'test'
2018-11-06 13:15:08,824 | VSTA_Main | DEBUG | OutlookItemChanged, CRM id = ; Outlook ID = 000000009619486F5BF3F74287BEAF949C5E6A180700CB802448276BF344A64F6119AEBEEE1200000000010D0000CB802448276BF344A64F6119AEBEEE1200000D7CAA490000
2018-11-06 13:15:08,824 | VSTA_Main | WARN  | Failed to find vCal-Uid in GlobalAppointmentId '   � � tŷ��    `���u�           h�k�&gxJ�̫u�{k!' in appointment 'test'
2018-11-06 13:15:08,825 | VSTA_Main | WARN  | Failed to find vCal-Uid in GlobalAppointmentId '   � � tŷ��    `���u�           h�k�&gxJ�̫u�{k!' in appointment 'test'

Your Environment

andrerav commented 5 years ago

I can confirm that this happens on my computer as well. The error in the log file is identical. Attached is a printout of all the property values on the outlook appointment item.

20181106 Feilrapport.pdf

simon-brooke commented 5 years ago

This is an appointment which has arrived in Outlook via SMTP or MAPI, and it hasn't yet been synced to CRM.

It's perfectly normal for a GlobalAppointmentID not to contain an embedded vCal record - it will have only (if I recall correctly) if the appointment originated from the calendar module of a CRM server instance. So this is probably not a bug, and unless you have symptoms of some other error (or you're confident that the appointment did come from a CRM instance) I would not worry about it.