Waitlist submodule outputs warning on screen when editing registrations.
The warning should only be output when trying to add a new registration.
Patch forthcoming.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alanburke created an issue. See original summary.

alanburke’s picture

alanburke’s picture

Status: Active » Needs review
Chris Matthews’s picture

Status: Needs review » Needs work

@alanburke - how did you create this patch?
When I run: git apply -v 2850243-1-registration-waitlist-check.patch
I get the following output:
Checking patch public/sites/all/modules/contrib/registration/includes/registration.forms.inc...
error: public/sites/all/modules/contrib/registration/includes/registration.forms.inc: No such file or directory

Spokje’s picture

Status: Needs work » Needs review
FileSize
1.63 KB

Reworked patch in correct format and for latest 7.x-dev

joelpittet’s picture

We were using this issue but found it was killing the Spaces field, realized there was a typo on the word settings and the variable didn't exist till a couple of lines down so here's a new patch. Also `===` on the value of 1 because 0 or >= 2 should show the field.

jplana’s picture

New version of the patch #6

The maximum allowed space a registrant can book should not be considered to determine if the entity still has room.

For example:

An entity has a total capacity of 100.
It contains 96 previous registrations.
Maximum allowed space per user is 5.

When viewing the registration page for the entity, the waitlist warning should not be displayed, since the user can still book up to 4 spaces left.

john.oltman’s picture

Status: Needs review » Closed (outdated)