by SuiteCRM

Official SuiteCRM Outlook Plugin v4 has arrived - A complete plugin rebuild developed and maintained by SuiteCRM developers entirely from scratch, the addon retains previous functionality while massively improves performance, reliability and stability!

Free 30 day trial
Try it Now

#3022 - Error archiving from group Mailbox

In Progress Bug? created by justinh Verified Purchase 5 months ago

It appears there is a problem relating to archiving email from a group mailbox, or archiving an email that has been dragged from a group mailbox to the personal mailbox, when the "To" address does not equal the SuiteCRM / Outlook user.

To replicate;
Right click to archive from the group mailbox,
or
Drag email from group mailbox to personal mailbox, right click to archive.

The error log is as follows;

2020-08-25 10:51:58,240 | 5  | DEBUG | Anonymous thread 5 running as 'Daemon'.
2020-08-25 10:51:58,647 | VSTA_Main | DEBUG | ArchiveDialog: About to manually archive 1 emails
2020-08-25 10:51:58,647 | VSTA_Main | INFO  | MailItemExtension.AsArchiveable: serialising mail PO Number '4508301554' dated 25/08/2020 10:25:44 AM.
2020-08-25 10:51:58,648 | VSTA_Main | INFO  | EmailArchiving.GetAttachmentBytes: serialising attachment 'PO Number '4508301554'.pdf' of email 'PO Number '4508301554''.
2020-08-25 10:51:58,798 | VSTA_Main | WARN  | ArchiveableEmail.Save: failed to save 'PO Number '4508301554'' with HTML body
System.NullReferenceException: Object reference not set to an instance of an object.
   at SuiteCRMClient.Email.ArchiveableEmail.ConstructPacket(String htmlBody)
   at SuiteCRMClient.Email.ArchiveableEmail.TrySave(IEnumerable`1 relatedRecords, Exception[] fails)
   at SuiteCRMClient.Email.ArchiveableEmail.Save(IEnumerable`1 relatedRecords)
2020-08-25 10:51:58,798 | VSTA_Main | ERROR | ArchiveableEmail.Save: failed to save 'PO Number '4508301554'' at all
System.NullReferenceException: Object reference not set to an instance of an object.
   at SuiteCRMClient.Email.ArchiveableEmail.ConstructPacket(String htmlBody)
   at SuiteCRMClient.Email.ArchiveableEmail.TrySave(IEnumerable`1 relatedRecords, Exception[] fails)
   at SuiteCRMClient.Email.ArchiveableEmail.Save(IEnumerable`1 relatedRecords)
Data:System.Collections.ListDictionaryInternal
HResult:-2147467261

At first I thought it may be a validation issue, so I have tested Strict and Relaxed CRM Id Validation, with no effect on the problem.

I have found one workaround, but it might not be possible for all users if they cannot "send" from a group mailbox;
- If the user forwards the email from the group mailbox to the personal mailbox, the email can then be archived by entering the appropriate search criteria in the search field. Perhaps this is because the "To" address now matches the Outlook/SuiteCRM user.

Regards,
Justin.

  1. suitecrm member avatar

    SuiteCRM Provider Affiliate

    3 months ago

    Hi Justin,

    Apologies for display in response, could you confirm are you using the V3 or the V4 package here? and have these issues continued since the report?

    Thanks,
    Mac

  2. justinh member avatar

    justinh Verified Purchase

    3 months ago

    No worries about the delay, the problem persists;

    Outlook Plugin is 3.0.22.0, .Net 4.7.2
    SuiteCRM 7.8.31, IIS 8.5, MS Server 2012 R2, PHP 7.1.1
    Win 10 Pro x64 20H2 (Build 19042.572) with Outlook 365 MSO 32-Bit (16.0.13328.20130)

    • suitecrm member avatar

      SuiteCRM Provider Affiliate

      3 months ago

      Hi there,

      The V3 plugin wasn't fully compatible with Outlook 365 and therefore was never supported, however with the launch of V4 support for outlook 365 was included.

      I suggest upgrading by uninstalling the old plugin and then following the V4 Installation guide.

      If you have any issues please let me know!

    • justinh member avatar

      justinh Verified Purchase

      3 months ago

      Is V4 now 7.8.31 compatible, I thought it required a later version?

  3. suitecrm member avatar

    SuiteCRM Provider Affiliate

    3 months ago

    My apologies, I miss read the version you specified. Yes, a later version is required, at minimum 7.10.11 or any version higher.

    Personally, I would recommend upgrading your system as far as you can to incorporate the latest security fixes and features you may be missing out on that are now in core Suite. Further to that also allows the use of the V4 plugin.

    If you have any questions about upgrading please let me know and I'll pass across some articles and documentation!

    Thanks,
    Mac

    • justinh member avatar

      justinh Verified Purchase

      2 months ago

      Unfortunately it's not so simple as an upgrade. Note we are on Windows Server 2012 R2 with IIS 8.5. At this time we are stuck on 7.8.31 due to upgrade incompatibilities. We had tried upgraing to 7.10.x but it failed at the Commit Stage, the suggested fix was to apply the Upgrade Wizard Patch, but once the Upgrade Wizard Patch module is installed it cannot be uninstalled, and it is now found to incompatible with Windows Server 2012 R2 reporting an incorrect Bad Permissions during the System Check phase. Because we cannot install the Upgrade Wizard Patch we cannot go backwards and resolve the commit stage problem. To get around this looks like I will have to prepare a special intermediate Linux path for export, upgrade to 7.10.x, then re-import to a clean 7.10.x install on the Windows Server. It's really a mess.

      It would have been nice to just uninstall the Upgrade Wizard Patch and work on fixing the Commit problem.

    • suitecrm member avatar

      SuiteCRM Provider Affiliate

      2 months ago

      Hi there,

      I'll have a look at the Wizard Patch, there's a chance you may be able to revert the changes manually with "no" detrimental effect to the system should we do it right.

      Will update you with some more information soon.

      Best,
      Mac

    • justinh member avatar

      justinh Verified Purchase

      2 months ago

      Hi Mac,

      That would be terrific, thanks in advance for your efforts.

      Fyi, I've stalled our Upgrade process for now anyway as the alternaive route is laborious and needs sigificant time to be completed. So it's unlikely to proceed before a major holiday.

      Regards,
      Justin

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...