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

Calendar entries set to "private" crash the weeknotes generator #32

Open
amcewen opened this issue Jul 25, 2022 · 0 comments
Open

Calendar entries set to "private" crash the weeknotes generator #32

amcewen opened this issue Jul 25, 2022 · 0 comments
Labels

Comments

@amcewen
Copy link
Member

amcewen commented Jul 25, 2022

Entries in the events calendar that are marked as "Private" are missing some of their details when they show up (just as busy) in the public ical feed.

That causes the script to fail when creating the WeeknoteEvent. On line 42 of weeknote_event.rb:

html = html + "\n<td><a href=\""+ical_ev.description+"\">"+ical_ev.summary.gsub('"', '')+"</a></td>"

Because ical_ev.description is nil. summary is set to "Busy".

We should skip any such events, rather than crash 😁

@amcewen amcewen added the bug label Jul 25, 2022
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

1 participant