Schedule Guest Access doesn't work without a start date
Affected Version of Concrete CMS
8.5.x, 9.x
Description
In Schedule Guest Access, the three blocks were set up as follows:
- Set both Start and End Date.
- Set only Start Date.
- Set only End Date.
When I check with the guest user, only the End Date is set (No. 3) is not displayed. Other settings displayed.
Setting the Start Date would work around the problem. However, it would be nice to be able to display the case where only the End Date is set.
How to reproduce
Settings
- Set both Start and End Date.(From: 4/4/2024, To: 4/30/2024)
- Set only Start Date.(From: 4/4/2024, To: none)
- Set only End Date.(From: none, To: 4/30/2024)
Result
Possible Solution
No response
Additional Context
No response
This is fairly easy to fix – the problem is the getActiveRange method of AbstractRepetition returns null if there's no start date – but I'm a little worried about making that change without causing unintended consequences.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!