Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Can not import ICS calendar Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Emilius
Newbie
Newbie
Avatar

Joined: 20 November 2018
Location: Canada
Online Status: Offline
Posts: 21
Posted: 01 March 2023 at 9:50pm | IP Logged Quote Emilius

Hello

It's look like I am not able to import ICS calendar to my existing calendar anymore. it dues not give me any errors while finishing import but nothing is shown after. Any suggestions I can try please.

Thank you
Back to Top View Emilius's Profile Search for other posts by Emilius
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6094
Posted: 01 March 2023 at 9:56pm | IP Logged Quote Igor

Can you reproduce that issue at WebMail Pro Live Demo? Thank you.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Emilius
Newbie
Newbie
Avatar

Joined: 20 November 2018
Location: Canada
Online Status: Offline
Posts: 21
Posted: 01 March 2023 at 10:02pm | IP Logged Quote Emilius

yes, it is the same on Live Demo, nothing is shown after import. I am trying to import calendar from here https://f1calendar.com/generate
Back to Top View Emilius's Profile Search for other posts by Emilius
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6094
Posted: 01 March 2023 at 10:21pm | IP Logged Quote Igor

Thank you, I've asked the developers to take a look.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6094
Posted: 01 March 2023 at 10:53pm | IP Logged Quote Igor

We've checked this on the latest development snapshot, the issue is not reproduced there. So I believe it's safe to assume the issue is already fixed, and the fix will become available in the next product update. Thanks.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6094
Posted: 02 March 2023 at 1:13am | IP Logged Quote Igor

You can correct the issue on your installation by making the following changes to function importToCalendarFromIcs in modules/Calendar/Storages/Sabredav.php file:

1) Replace the following code:

Code:
          $oCalendar = $this->getCalDAVCalendar($sCalendarId);
          if ($oCalendar)
          {


with:

Code:
          $oCalDAVCalendar = $this->getCalDAVCalendar($sCalendarId);
          if ($oCalDAVCalendar) {
               $oCalendar = $this->parseCalendar($oCalDAVCalendar);


2) Replace the code:

Code:
if (!$oCalendar->childExists($sUid . '.ics')) {


with:

Code:
if (!$oCalDAVCalendar->childExists($sUid . '.ics')) {


The relevant commit can be found here. Hope it helps.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Emilius
Newbie
Newbie
Avatar

Joined: 20 November 2018
Location: Canada
Online Status: Offline
Posts: 21
Posted: 02 March 2023 at 5:20am | IP Logged Quote Emilius

Thank you ;)
Back to Top View Emilius's Profile Search for other posts by Emilius
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide