Intermittently the Outlook plugin will touch a Outlook Meeting object and set the duration_hours and/or duration_mins to 0.
This appears to only happen when synchronising both from Outlook & SuiteCRM
Expected Behavior
Meetings should only be updated triggered by a change
Actual Behavior
Some meetings are updated without user interaction with duration_hours or/and duration_mins set to 0
Issue
Intermittently the Outlook plugin will touch a Outlook Meeting object and set the duration_hours and/or duration_mins to 0. This appears to only happen when synchronising both from Outlook & SuiteCRM
Expected Behavior
Meetings should only be updated triggered by a change
Actual Behavior
Some meetings are updated without user interaction with duration_hours or/and duration_mins set to 0
Possible Fix
Areas of interest are: Exception: https://github.com/salesagility/SuiteCRM-Outlook-Plugin/blob/000d937f91646f4dfec04e1c7e92c65f1306e2d9/SuiteCRMAddIn/Exceptions/DurationSetToZeroException.cs#L13 When Zero is detected: https://github.com/salesagility/SuiteCRM-Outlook-Plugin/blob/000d937f91646f4dfec04e1c7e92c65f1306e2d9/SuiteCRMAddIn/BusinessLogic/AppointmentSyncState.cs#L123
Changing the Meeting Duration functionality: https://github.com/salesagility/SuiteCRM-Outlook-Plugin/blob/7dbfe0b7243f147a26bbc814bfcd0e1a84eab706/SuiteCRMAddIn/BusinessLogic/MeetingsSynchroniser.cs#L76
Steps to Reproduce
Context
Logs
Your Environment