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

Parsing Error when Event has No Title #125

Open
Lucas44443 opened this issue Feb 17, 2024 · 4 comments
Open

Parsing Error when Event has No Title #125

Lucas44443 opened this issue Feb 17, 2024 · 4 comments
Labels
question Further information is requested

Comments

@Lucas44443
Copy link

Hello franc,

Firstly, I want to express my appreciation for the seamless integration provided.
I encountered an issue while using a Google ICS for this integration. It seems that when an event is created without a title, the calendar fails to load, displaying a parsing error: "Failed to validate CalendarEvent: required key not provided @ data['summary']".
Upon removing the event without a title, the calendar functions normally. It would be great if this issue could be addressed in future updates.
Thank you for your attention to this matter.

@franc6
Copy link
Owner

franc6 commented Feb 17, 2024

The HA calendar no longer allows events without a title/summary. I could probably either ignore such an event, or put in a dummy title, like “no summary”. If people will weigh in with their opinions, it’s an easy change when I get some time to do the next release. Oh, or better, take the first several characters (or words) of the description?

@franc6 franc6 added the question Further information is requested label Feb 28, 2024
@maxhamilius
Copy link

Hi,
Weighing in to this issue. Got the same error for a calendar I subscribe to Failed to validate CalendarEvent: required key not provided @ data['summary'] Unfortunately I cannot edit the calendar to remove the missing data since it is automatically generated from a scheduling platform.
I really appreciate the work that has gone into this integration, looking forward to future releases.

@franc6
Copy link
Owner

franc6 commented Feb 29, 2024

Do you have an opinion on what to put in the summary? The requirement that it have something is from HA, but it's easy for me to put something in there. I'd like to at least pretend I'm putting something useful there. :)

@maxhamilius
Copy link

maxhamilius commented Mar 2, 2024

I had a closer look at my calendar subscription. There are a few events without summary. In my case they could simply be ignored, or the summary could maybe replaced with a configurable string.

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

No branches or pull requests

3 participants