veda-consulting-company / uk.co.vedaconsulting.outlookapi

Other
4 stars 18 forks source link

Creating Cases not functioning properly with Outlook 2016 #43

Open samperd opened 6 years ago

samperd commented 6 years ago

Environment CMS: Wordpress 4.9.5 CiviCrm version: 4.6.36 CiviCRM Outlook Plugin: 2.1.5 (also tested 3.0.1 first, then removed) CiviCRM Outlook API extension: 2.1.5 (also tested 3.0.1 first, then removed) Outlook Version: 2016 Windows Version: Windows 7 Enterprise

Situation:

To replicate issue:

Actual Result:

Expected result:

Attempts to fix the issue

Suggestions

Outlook Access logs:

adevapp commented 5 years ago

Confirmed with 3.04 and 3.06. This process creates a dialogue box which you can't exit. When you hit submit, it creates the contact and case.. and every time you hit the send button it creates another case against the contact.

11-04-2019 16:59:15: Add account: The remote server returned an error: (404) Not Found.
11-04-2019 16:59:17: Invalid Credentials
11-04-2019 17:01:02: Action - Just before activity is created, ContactID is valid: 11270
11-04-2019 17:01:04: ActivityID - 11510 is related to ContactID - 11270
11-04-2019 17:01:04: Get attached files and post to CiviCRM, Function name - getAttachmentsInfo: Cannot save the attachment. Cannot add the attachment; no data source was provided.
11-04-2019 17:08:56: Action - Just before activity is created, ContactID is valid: 11270
11-04-2019 17:08:58: ActivityID - 11511 is related to ContactID11270
11-04-2019 17:08:59: Attachments, Function name - sendEmail: The remote server returned an error: (500) Internal Server Error.
11-04-2019 17:09:00: ActivityID - 11511 is related to ContactID - 11270
11-04-2019 17:09:00: Get attached files and post to CiviCRM, Function name - getAttachmentsInfo: Cannot save the attachment. Cannot add the attachment; no data source was provided.
11-04-2019 17:12:51: Item Send Event, Function name - adxOutlookEvents_ItemSend: Object reference not set to an instance of an object.
11-04-2019 17:13:03: Item Send Event, Function name - adxOutlookEvents_ItemSend: Object reference not set to an instance of an object.
11-04-2019 17:20:35: Create New Case, Function name - btnConfirm_Click: Length cannot be less than zero.
Parameter name: length
11-04-2019 17:20:47: Create New Case, Function name - btnConfirm_Click: Length cannot be less than zero.
Parameter name: length
11-04-2019 17:21:05: Create New Case, Function name - btnConfirm_Click: Length cannot be less than zero.
Parameter name: length
11-04-2019 17:21:07: Create New Case, Function name - btnConfirm_Click: Length cannot be less than zero.
Parameter name: length
11-04-2019 17:21:26: Create New Case, Function name - btnConfirm_Click: Length cannot be less than zero.
Parameter name: length
11-04-2019 17:28:02: Create sync folder, Function name - CreateCustomSyncFolder: Cannot create the folder.
11-04-2019 17:29:56: Action - Just before activity is created, ContactID is valid: 20521
11-04-2019 17:29:57: ActivityID - 11546 is related to ContactID20521
11-04-2019 17:29:59: Attachments, Function name - sendEmail: The remote server returned an error: (500) Internal Server Error.
11-04-2019 17:30:00: ActivityID - 11546 is related to ContactID - 20521
11-04-2019 17:30:00: Get attached files and post to CiviCRM, Function name - getAttachmentsInfo: Cannot save the attachment. Cannot add the attachment; no data source was provided.
11-04-2019 17:31:46: Action - Just before activity is created, ContactID is valid: 20521
11-04-2019 17:31:48: ActivityID - 11547 is related to ContactID20521
11-04-2019 17:31:49: Attachments, Function name - sendEmail: The remote server returned an error: (500) Internal Server Error.
11-04-2019 17:31:50: ActivityID - 11547 is related to ContactID - 20521
11-04-2019 17:31:50: Get attached files and post to CiviCRM, Function name - getAttachmentsInfo: Cannot save the attachment. Cannot add the attachment; no data source was provided.
11-04-2019 17:33:52: Create New Case, Function name - btnConfirm_Click: Length cannot be less than zero.
Parameter name: length
11-04-2019 17:34:01: Create New Case, Function name - btnConfirm_Click: Length cannot be less than zero.
Parameter name: length
11-04-2019 17:34:26: Create New Case, Function name - btnConfirm_Click: Length cannot be less than zero.
Parameter name: length
mrandraspal commented 4 years ago

I have the same problem in Outlook 2016 and Joomla Civicrm. Case created but cannot close the submit window in outlook.

adevapp commented 3 years ago

Can the windows source code be uploaded to git lab, so we can fix the issue and provide a patch back to the repo? I have been trying to arrange a paid bug fix for many months now with the author, with no response. The issue it is becoming urgent for our client.

If we have access to the source code, we can provide this patch and supply to everyone. The source code should really be provided given this is an open source module and we are happy to help in the maintenance/cost of implementing the bug fix.

Cheers.