by Opacus

The Opacus Activities Sync allows for a full bi-directional synchronisation between SugarCRM and your native calendar on your favorite device to synchronise calls, meetings and tasks. Works with Apple (iOS), Android, Outlook and Thunderbird/Lightning.

Free 30 day trial
Try it Now

By clicking you consent to share your profile with the developer

#3644 - Thunderbird/Lightning problem with ICS import

Open Bug? created by jobst 6 years ago

Similar to this one https://www.sugaroutfitters.com/support/activities-sync/1681 Not all users have the problem

One of my users has a problem not being able to import ICS, everytime she clicks on Thunderbird to import a ICS file she receives: Processing message failed. Status: 80004005.

Now I am not 100% sure WHERE this happens but considering that the calendar in Thunderbird uses the following link to add the entry to SuiteCRM https://SERVER/LOCATION/sas.php/calendars/USER/default it has to be (partially?) part of it.

I searched BOTH the SuiteCRM and the Thunderbird trees (grep) for "Processing message" or "80004005" but could not find anything.

Thunderbird: 52.2.7 Acitivities Sync: 2.0.9 SuiteCRM: Version 7.9.6, Sugar Version 6.5.25 (Build 344)

  1. Opacusjoe member avatar

    Opacusjoe

    6 years ago

    Good morning,

    Unfortunately, this is a known issue but presently there is no workaround. We will update the case if we have any news.

    Kind regards,

    Opacus Support

  2. jobst member avatar

    jobst

    6 years ago

    Hi

    The problem occurs in the code within the main jar file of the thunderbird extension "Lightning". The calendar. extension is needed EVEN if you just want to send the data to SuiteCRM, for example - i.e. you create an external (network) based calendar instance: "DRIVE:\Program Files (x86)\Mozilla Thunderbird\distribution\extensions{e2fda1a4-762b-4020-b5ad-a41df1933103}\chrome.jar"

    The message is created on line 342 in the file "lightning\content\lightning\imipbar.js" (relative within the jar archive) in the function "executeAction: function(partStat, extendResponse)"

    So far I can see that this function is called when the button "Accept" is hit to import the ICS file, this function ALSO contains a CALLBACK. The CALLBACK is called upon the completion of the import anmd receives a fair amount of detail: "onOperationComplete: function(aCalendar, aStatus, aOperationType, aId, aDetail)"

    The "aStatus" is checked and if not considered to be a success state, the error message is raised.

    What is interesting is the comment within the code that is part of the error message "// For now, we just state the status for the user something very simple" It seems the developer isnt too sure whether to abort or to tell the user something is not quite right.

    In my case (well one of my users) the import of the ICS file still happens, but the STATUS is not quite right.

    So you might want to dig deeper into that part to see whether the stuff SAS returns to Thunderbird is considered OK by Thunderbird and if NOT considered OK why Thunderbird is waving an eror flag. In my case it really IS just waving a flag as the import happens successful.

    Jobst

  3. jobst member avatar

    jobst

    6 years ago

    Here is some more info:

    The problem ONLY occurs if I choose a SuiteCRM/SugarCRM calendar, it does NOT occur any other way (see above the aStatus). I created many events using my google account - I only changed the subject line and the date, everything else I kept the same including the invitees. I send the invite to the same person (me, domain account).

    Upon receving the invite I clicked on "Accept" and then selected the calendar to import, using the SugarCRM/SuiteCRM calendar it failed, other calendars had no problem using the same ICS.

    Hope this helps.

    • Opacus member avatar

      Opacus Provider

      6 years ago

      We missed your replies due to some issue with email. Thank you for the debugging information, we will continue to investigate. Fortunately the event is imported any way.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
  • "The program was working great for about 2 months and then it quit working. We have attempted to contact them numerous times and no one is responding. ..." - senia

    Read More Reviews