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

fix: calendar events without a location crashes plugin #439

Merged
merged 2 commits into from
Apr 29, 2024

Conversation

sepatel
Copy link
Contributor

@sepatel sepatel commented Apr 24, 2024

This resolves an issue which to summary caused the plugin to break the moment it activates a calendar event not having a location. The resolution is to do a nullability check and default it to blank to represent the location for the notification key.

Fixes #438

If a calendar event does not have a location specified, the
notification key would not properly generate. The changes default
the undefined location value to be blank now to represent the value
of the location field.

Fixes ivan-lednev#438
The default 644 permissions caused them to not trigger. Updated
them to 755 permissions so that they are enforced moving forward.
@sepatel sepatel changed the title Fix Calendar Events without a Location fix: Calendar Events without a Location Apr 24, 2024
@sepatel sepatel changed the title fix: Calendar Events without a Location fix: calendar events without a location crashed plugin Apr 24, 2024
@sepatel sepatel changed the title fix: calendar events without a location crashed plugin fix: calendar events without a location crashes plugin Apr 24, 2024
@aahventures
Copy link

Thanks for opening it! Hopefully maintainer approves soon. @ivan-lednev

@kjarnot
Copy link

kjarnot commented Apr 29, 2024

Thanks for this fix. Waiting patiently for the approval! @ivan-lednev

@ivan-lednev ivan-lednev merged commit 954e769 into ivan-lednev:main Apr 29, 2024
2 checks passed
@ivan-lednev
Copy link
Owner

Hello, @sepatel, thanks for the PR!

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

Successfully merging this pull request may close these issues.

Calendar Events without a Location Error Out
4 participants