Monday, 27 April 2015
  3 Replies
  1.6K Visits
0
Votes
Undo
Good Day,

I have been working on an upgrade to a site that I've been using JEvents on for some time.
The calendar feeds I'm attempting to add to the new site have been validated using an on-line iCalendar Validator, and been working flawlessly on the old site for some time.

Works

PHP Version : 5.4.38
Joomla : 2.5.17
component_com_jevents : 3.1.7
module_mod_jevents_cal : 3.1.7
module_mod_jevents_filter : 3.1.7
module_mod_jevents_latest : 3.1.7
module_mod_jevents_legend : 3.1.7
module_mod_jevents_switchview : 3.1.7
plugin_finder_jevents : 3.1.7
plugin_search_eventsearch : 3.1.7


However, on the new site with version 3.2, those same feeds are producing an Invalid VCalendar error when I attempt to add them.

Produces Not a Valid VCalendar Error

PHP Version : 5.5.22
MySQL Version : 5.0.95
Joomla : 3.4.1
component_com_jevents : 3.2.12
module_mod_jevents_cal : 3.2.12
module_mod_jevents_custom : 3.2.12
module_mod_jevents_filter : 3.2.12
module_mod_jevents_latest : 3.2.12
module_mod_jevents_legend : 3.2.12
module_mod_jevents_switchview : 3.2.12
plugin_content_jevents : 3.2.12
plugin_finder_jevents : 3.2.12
plugin_search_eventsearch : 3.2.12


After much trial and error, I narrowed the issue down to non-printable characters that had been pasted into the event creation form in the application that's providing the feed. Since I have little control over the input of the feed data, is there a way to modify the behavior of v3.2 to ignore those non-printable characters? Or, are there plans to address this in the next release?

Thank you for your time.
Monday, 27 April 2015 22:36
·
#147284
0
Votes
Undo
Hello,

Technically it is possible.. but we support quote printable for exporting so should support it for importing.

Can you provide a sample of your ical?

Thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

Tuesday, 28 April 2015 16:12
·
#147285
0
Votes
Undo
Thank you for such a quick response.

I did manage to filter the offending characters out using a script that I wrote read the feed, then serve a "clean" feed to JEvents...kind of a hack, but it's working. My concern is, I've only stripped out those characters that I know are causing a problem. I suspect others will pop up in the future and I won't know until the JEvents calendar stops working.
I uploaded an ics, that I know causes JEvents to throw the invalid VCalendar error here:

http://rac.iaccrr.org/training_calendar/cca_training_calendar_original.ics
(My account won't allow me to post links)

I believe you will find the offending characters here:

cat -v cca_training_calendar_original.ics | grep -n M-
96:SUMMARY:No more PRAISEM-^EENCOURAGE to change behavior^M
1026:SUMMARY:Day in the life of a Toddler: Filling\, dumping\, and climbingM-^EOh My!^M
1401:SUMMARY:What do I do with all these papers? Home Licensing Support M- M- ^M
1671:SUMMARY:No more PRAISEM-^EENCOURAGE to change behavior^M
3081:SUMMARY:Ask the Experts!M- Home Licensing 101^M
3651:SUMMARY:Understanding and Nurturing a ChildM-^Rs Fascination with Superheroes (2.25 hrs)^M
4086:SUMMARY:No more PRAISEM-^EENCOURAGE to change behavior^M
4206:SUMMARY:Day in the life of a Toddler: Filling\, dumping\, and climbingM-^EOh My!^M
4386:SUMMARY:Ask the Experts!M- Center Licensing 101 ^M
4416:SUMMARY:Ask the Experts!M- Center Licensing 101 ^M
4971:SUMMARY:Ask the Experts!M- Unlicensed Ministry 101 ^M

Regards,
Jeff
Tuesday, 28 April 2015 16:24
·
#147286
0
Votes
Undo
Hi Jeff,

This ICS isn't saying anything about quote-printable so we won't format it as quote-printable.

I imported that ics file perfectly...

Thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.