When you are already registered and click Add to cart, there should be a "You are already registered for [title], you can view your registration." message in addition to the "This product is not available for registration at this time." error or menu without the Myself option.

CommentFileSizeAuthor
#8 1883482.diff1.32 KBdrumm
#3 1883482.diff1.97 KBdrumm

Comments

drumm’s picture

Issue tags: +portland2013

We will be running into this on DrupalCon sites.

drumm’s picture

Assigned: Unassigned » drumm
drumm’s picture

Status: Active » Needs review
StatusFileSize
new1.97 KB

This patch lets the user know that they have an existing registration. This will show up regardless of whether they can register someone else or not. If they can not register someone else, it explains why registration is not available. If they can register someone else, it reminds them that they are registered and shouldn't fill in their information again.

Status: Needs review » Needs work

The last submitted patch, 1883482.diff, failed testing.

drumm’s picture

Version: 7.x-3.x-dev » 7.x-2.x-dev
drumm’s picture

Status: Needs work » Needs review

#3: 1883482.diff queued for re-testing.

jpontani’s picture

drumm’s picture

StatusFileSize
new1.32 KB

Sorry, I omitted a couple things.

  • $user is needed.
  • ->uri() returns a data structure.

Patch against 7.x-2.x attached.

drumm’s picture

Status: Fixed » Needs review
mrfelton’s picture

yes, patch in #8 is needed and is good. Thanks.

nhck’s picture

Category: task » bug
Priority: Normal » Major
Status: Needs review » Reviewed & tested by the community

This should be committed asap. #8 should go in asap, the former patch causes some confusion.

jpontani’s picture

Status: Reviewed & tested by the community » Fixed

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