Problem/Motivation

It's possible for duplicate event registrations to occur if concurrent requests are sent to the system. If multiple requests to create or update an event registration for the same event are processed in parallel, the validation may not accurately check the current status of registrations for a particular user or event.

Proposed resolution

Force the validation to acquire a lock before checking the users registration status so only one request can be processed at a time.

Issue fork intercept-3527798

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

pixelwhip created an issue. See original summary.

  • attheshow committed 4a137fc8 on 2.0.x
    Issue #3527798 by pixelwhip: RegistrationLimitConstraint may fail to...
attheshow’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

pixelwhip’s picture

Status: Closed (fixed) » Needs review

This issue was committed then reverted due to the missing service. I'm reopening it with an updated merge request that includes the omitted lock service.

attheshow’s picture

Status: Needs review » Fixed

This should be now fixed in the latest release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.