Author |
|
Emilius Newbie
Joined: 20 November 2018 Location: Canada
Online Status: Offline Posts: 21
|
Posted: 01 March 2023 at 9:50pm | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 01 March 2023 at 9:56pm | IP Logged
|
|
|
Can you reproduce that issue at WebMail Pro Live Demo? Thank you.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
Emilius Newbie
Joined: 20 November 2018 Location: Canada
Online Status: Offline Posts: 21
|
Posted: 01 March 2023 at 10:02pm | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 01 March 2023 at 10:21pm | IP Logged
|
|
|
Thank you, I've asked the developers to take a look.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 01 March 2023 at 10:53pm | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 02 March 2023 at 1:13am | IP Logged
|
|
|
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 |
|
|
Emilius Newbie
Joined: 20 November 2018 Location: Canada
Online Status: Offline Posts: 21
|
Posted: 02 March 2023 at 5:20am | IP Logged
|
|
|
Thank you ;)
|
Back to Top |
|
|