CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Event participant list is empty but gettting event is full message
Pages: [1]

Author Topic: Event participant list is empty but gettting event is full message  (Read 871 times)

laidback

  • I’m new here
  • *
  • Posts: 22
  • Karma: 0
  • Always looking for answers, so I can share it.
  • CiviCRM version: 3.3.5, 4.0.7,4.0.84.1
  • CMS version: Drupal 6, Drupal 7 and Joomla 1.6
  • MySQL version: 5.1.58
  • PHP version: 3.4.7.1
Event participant list is empty but gettting event is full message
May 05, 2011, 07:47:01 am
Hi I am testing an event with waiting list enabled. After testing the different scenarios I clear out the participant list including the waiting and start again.

The trouble is when I try to go through the process again, I get the following message on the registration page:

This event is currently full. However you can register now and get added to a waiting list.
I have tried everything bar creating a new event, is there away of telling the system that the event is no longer full.


Rajesh

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 10
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x
  • CMS version: Drupal 7.xx, Wordpress 3.5.x - 3.6.x, Joomla 3.1
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Re: Event participant list is empty but gettting event is full message
May 05, 2011, 10:09:25 am
I think i found the problem.

I registered for an event and instead of deleting the participant record, i deleted the contact record (not permanently, but moved to trash). In this case, the participant record still exists, but the contact record is in trash. So in the event dashboard, it doesnt count me as a participant, as my contact record is in trash.

But in the event registration form, it is checking only the participant records to calculate the available space(s) and it is not checking the 'is_deleted' field (whether the contact is active or is in trash) of the associated contact record. So participant record for the contacts even in trash are counted as filled spaces.

Hope this makes sense.
« Last Edit: May 05, 2011, 10:14:12 am by rajesh »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Event participant list is empty but gettting event is full message
May 05, 2011, 10:51:07 am

Cool. good detective work rajesh :)

can you please ensure that we account for the is_deleted contacts and dont count them as participants in the relevant queries.

Please test and file an issue along with the patch

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Event participant list is empty but gettting event is full message
May 05, 2011, 02:41:12 pm
might this also be catching us if we merge two contacts - where the one that gets trashed has an event registration - ie the merged contact that is kept now gets recorded as a participant - and the trashed one still gets counted too?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Event participant list is empty but gettting event is full message

This forum was archived on 2017-11-26.