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

Group Registration Block Group Capacity Setting Issue #5784

Closed
2 tasks done
thejasonharvey opened this issue Mar 11, 2024 · 3 comments
Closed
2 tasks done

Group Registration Block Group Capacity Setting Issue #5784

thejasonharvey opened this issue Mar 11, 2024 · 3 comments
Labels
Fixed in v16.4 Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Confirmed bugs or reports that are very likely to be bugs.

Comments

@thejasonharvey
Copy link

Description

When the "Prevent Group Overcapacity Registrations" setting on the Group Registration Block is set to "No" then upon saving the settings and refreshing the page the block will always state the group "is at or exceeds capacity"

Actual Behavior

When the "Prevent Group Overcapacity Registrations" setting on the Group Registration Block is set to "No" then upon saving the settings and refreshing the page the block will always state the group "is at or exceeds capacity."

It doesn't seem to matter if a group has a capacity rule of "none" or if there is a group capacity that is not met, it will always display that message and prevent the ability to register for the group. In order to get the message to go away the setting must be set to "blank" or "Yes".

Expected Behavior

I would expect the message to only appear if a group has a capacity rule that prevents overcapacity and the group is at capacity - and the rule on the block is set to "Yes".

Steps to Reproduce

Issue Confirmation

  • Perform a search on the Github Issues to see if your bug or enhancement is already reported.
  • Try to reproduce the problem on a fresh install or on the demo site.

Rock Version

16.2, 16.3, 17.0

Client Culture Setting

en-US

@sparkdevnetwork-service sparkdevnetwork-service added Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Confirmed bugs or reports that are very likely to be bugs. labels Mar 11, 2024
nairdo added a commit that referenced this issue Mar 14, 2024
…Prevent Overcapacity Registrations" feature from working properly. (Fixes #5784)
@zackdutra
Copy link

@thejasonharvey did you do anything to temporarily fix this? Put the web forms block back?

@thejasonharvey
Copy link
Author

@zackdutra I don't think we enforce group capacities very often for our groups. So, I am not sure what happens if a group actually has a cap. However, what we did was change the setting to either "Yes" or "Blank" and it seemed to no longer be an issue. So, the workaround was pretty basic. It was just causing problems in all those places where we explicitly told the block setting to not enforce capacity limits.

@nlBayside
Copy link
Contributor

@thejasonharvey Thanks for the suggestion. We also changed the block setting to "Yes" or "Blank" (defaults to true anyways), and that solved our problem.

Looks like the reason it works there is because it will default the OpenSpots property for box to 2 if you have the block setting checked; otherwise, OpenSpots initializes as 0 and fails the condition.

Thanks again for the response! We initially were going to put back the older WebForms block in the meantime, but this seems to have solved our issue temporarily while we wait for v16.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in v16.4 Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Confirmed bugs or reports that are very likely to be bugs.
Projects
None yet
Development

No branches or pull requests

5 participants