Improve maximum spaces validation

Created on 7 January 2025, 2 days ago

Problem/Motivation

Working on [#] we identified a possible issue:
we want it to be the case that

if an administrator changes the number of spaces on a registration to exceed the maximum_spaces setting, then other custom fields on the registration can still be edited by the registrant without the registrant needing to reduce the spaces.

RegistrationWithinSpaces constraint needs to be checking the original registration. Or perhaps better using Registration::getAdditionalSpacesRequested() proposed in 📌 Explore alternatives to passing existing registration into hasRoom Active .

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

3.3

Component

Registration Core

Created by

🇬🇧United Kingdom jonathanshaw Stroud, UK

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024