Allow 0 (unlimited) to be set on Maximum number of spaces allowed

Created on 18 January 2023, about 2 years ago
Updated 24 January 2023, about 2 years ago

Problem/Motivation

Currently you cannot set 0 on the maximum number of spaces for each registration, even through the descriptions states 0 means unlimited.

Steps to reproduce

Go to the registration settings and try to set 0 as the value on Spaces allowed.

Proposed resolution

Change base field definition to allow zero, and create a hook_update_n to change on existing installs.

Remaining tasks

Test and approve patch.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Registration Core

Created by

πŸ‡¬πŸ‡§United Kingdom Dubs

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024