iCal files not generated for not public events
Overview
If an event is NOT public:
- the Event Info page does not show a link to a calendar file.
- If you go to the link to download the calendar file (drupal url ex: https://dmaster.demo.civicrm.org/civicrm/event/ical?reset=1&id={eventID}&list=1) the ical file is not properly populated.
Reproduction steps
- Create an Event
- Set "Public Event?" to unchecked
- Go to the event info page for that event
Current behaviour
- No calendar icon to download the .ics file.
- if you go to the link that generates the ics file it is not properly populated
Expected behaviour
- The calendar icon to download the .ics file should appear as it does for public events.
- if you go to the link that generates the ics file it should populate as it does for public events
Environment information
Tested on master (5.29alpha1) in WordPress and Drupal
Comments
I suspect this is an oversight.