unrelease regression (master) Event with no participant yet is still full
Overview
If you create an event on the Demo site and attempt to register, you are told it is full, though the event is new.
Reproduction steps
- Create a new event with Online Registration.
- Attempt to register.
- You are told the event is full.
Current behaviour
You are told the event is full.
Expected behaviour
----------------------------------------
You should be able to register for the event.
Environment information
----------------------------------------
<!-- Some of the items below may not be relevant for every bug - if in doubt please include more information than you think is neccessary. -->
* __Browser:__ _Edge_. but probably irrelevant.
* __CiviCRM:__ _5.1.Alpha1_ The demo system.
* __PHP:__ _8.1__
* __CMS:__ _Whatever Demo is running on._
* __Database:__ _Whatever Demo uses_
* __Web Server:__ _Whatever Demo uses_
Comments
----------------------------------------
I saw this problem on the Demo system. I'm unable to investigate on my local system due to another issue that I shall be raising.