concretecms icon indicating copy to clipboard operation
concretecms copied to clipboard

Schedule Guest Access doesn't work without a start date

Open moriaiy opened this issue 2 years ago • 3 comments

Affected Version of Concrete CMS

8.5.x, 9.x

Description

In Schedule Guest Access, the three blocks were set up as follows:

  1. Set both Start and End Date.
  2. Set only Start Date.
  3. 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

  1. Set both Start and End Date.(From: 4/4/2024, To: 4/30/2024)
  2. Set only Start Date.(From: 4/4/2024, To: none)
  3. Set only End Date.(From: none, To: 4/30/2024)

image

Result image

Possible Solution

No response

Additional Context

No response

moriaiy avatar Apr 04 '24 03:04 moriaiy

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.

aembler avatar May 21 '24 20:05 aembler

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!

stale[bot] avatar Apr 27 '25 01:04 stale[bot]