Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Presenter field containing quotes causes calendar processing failure #552

Open
smarquard opened this issue Sep 27, 2017 · 2 comments
Open
Assignees
Labels

Comments

@smarquard
Copy link

smarquard commented Sep 27, 2017

In Opencast 3.x, create an event with a presenter name that includes quotes, e.g.

Some "quoted" presenter

This produces an ical entry with an organizer field like this:

ORGANIZER;CN=Some "quoted" presenter:mailto:Some%20%22quoted%22%[email protected]

Galicaster (latest 2.0.x) fails to process updates from the calendar:

galicaster	2017-09-27 10:34:16,864	ERROR	utils/ical	Error processing ical: 'NoneType' object is not iterable

The scheduled event will therefore not get recorded, nor will any other scheduled events until the event with the unparseable organizer field has past.

Also seen:

galicaster	2017-09-27 10:36:16,846	ERROR	utils/queuethread	'NoneType' object is not iterable

Slightly earlier versions of 2.0.x had a more explicit error which would also cause Galicaster to die:

galicaster 2017-09-27 10:25:02,858 ERROR utils/ical Error processing ical: Content line could not be parsed into parts: 'ORGANIZER;CN=Some "quoted" presenter:Some%20%22quoted%22%[email protected]': 'CN=Some "quoted" presenter' is not a valid parameter string: Some "quoted" presenter

Since the organizer field is not really needed for recording purposes, Galicaster should just ignore it if it's unparseable.

@dpeite
Copy link
Contributor

dpeite commented Sep 27, 2017

I will take a look to this

@dpeite dpeite self-assigned this Sep 27, 2017
@dpeite dpeite added the bug label Sep 27, 2017
@smarquard
Copy link
Author

Filed this as an Opencast issue:

https://opencast.jira.com/browse/MH-12631

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants