help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

[SOLVED] Joomla 5.0.0: ics format with errors

Joomla 5.0.0: ics format with errors

2 weeks 1 day ago - 2 weeks 1 day ago
#34088
Good morining. 

In a menu with Simplelist the ics file is kind of "corrupt".  I am not able to import it to mailbox.org calendar. 

There is
- strang sequence: "<div id="redim-cookiehint-bottom">   <div id="redim-cookiehint">    ....

Thats what " icalendar.org/validator.html " says:
- "LF" instead of "CRLF"
- there are empty lines
- ....

  

File Attachment:

File Name: event88_20...7-09.zip
File Size:1.61 KB
Last edit: 2 weeks 1 day ago by hklages.

Please Log in or Create an account to join the conversation.

Re: Joomla 5.0.0: ics format with errors

2 weeks 1 day ago
#34090
You have the fix in this commit:
github.com/jemproject/JEM-Project/commit/7982db3186686e56c6878d7704fb69f14fc6a150

This patch will be included in the upcoming JEM 5.0.1 release.

Please Log in or Create an account to join the conversation.

Re: Joomla 5.0.0: ics format with errors

2 weeks 9 hours ago
#34103
On my test instance I copied the mentioned file to: 
/var/www/html/joomla/components/com_jem/helpers replacing the existing and set owner/group to www-data

After restarting the virtual machine the downloaded ical file still has the errors. 

Do I have to change something else?  

File Attachment:

File Name: event88_20...7-10.zip
File Size:1.49 KB

 

Please Log in or Create an account to join the conversation.

Re: Joomla 5.0.0: ics format with errors

2 weeks 8 hours ago - 2 weeks 8 hours ago
#34104
Just thinking,
- Did you also take a look at the cookie plugin?

//
Did test with Joomla 6.1.1 + updated helper.php + CookieHint. 
can't replicate myself the issue you mentioned. output seems fine. 

//
additional..   
It might be that a close can be added in the raw view to prevent it to happen. but that is something McKillo or someone else can take a look at. 
a line like "Factory::getApplication()->close();[/code]"

something like this
// generate and redirect output to user browser
$vcal->returnCalendar(false, false, true, $filename);
Factory::getApplication()->close();
}

 
Joomla5, Joomla 6.1.1 || JEM
Last edit: 2 weeks 8 hours ago by Bluefox.

Please Log in or Create an account to join the conversation.

Re: Joomla 5.0.0: ics format with errors

2 weeks 7 hours ago
#34105
The commit has 3 files, I think that you have copied one of them,

Please Log in or Create an account to join the conversation.

Re: Joomla 5.0.0: ics format with errors

2 weeks 7 hours ago
#34106
This is old code: $vcal->returnCalendar(false, false, true, $filename);
Apply the commit completed.

Please Log in or Create an account to join the conversation.

Time to create page: 0.776 seconds