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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Tried CRM-2736 - Batch Update via Profile for Participant Records in 2.1
Pages: [1]

Author Topic: Tried CRM-2736 - Batch Update via Profile for Participant Records in 2.1  (Read 4251 times)

kdas

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Tried CRM-2736 - Batch Update via Profile for Participant Records in 2.1
August 30, 2008, 11:47:26 am
In the sandbox created a Test Event1.

1. Created a profile 'Participant Profile1'. That has fields:
Participant Source, Patricipant Notes. (Probably Participant Source is enough to reproduce the issue)
2. Register 4 participants. Role = Volunteer, Status = Registered.
3. In CiviEvent click on Registered/Attended link for Test Event1. You will see 4 participants. Select all and do action Batch Update Participant Via profile. Select profile 'Participant Profile1'. Update/add Participant Source. Save.
4. Go back to screen where it shows all participants for Test Event1. Click Edit/Modify link, you will see the Patricipant source correctly.
5. Now in the same Edit mode, update the Participant Source with a different value. Save and do action Batch Update Participant Via profile again. You will still see the old Participant source value, not the updated one. That is a bug. But if you go to CiviEvent link and go back again to Batch Update Participant Via profile you will see the right Participant Source.
 
It seem somehow buffer doesn't get updated if you modify the Participant Source in Edit mode and immediately go to Batch Update Participant Via profile.

Note: No custom fields are in the Participant record.

FYI: It seems someone is testing sandbox using some other language. Many of the field labels and buttons are not in English that makes it not readable.

Thanks,
KDas

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: Tried CRM-2736 - Batch Update via Profile for Participant Records in 2.1
August 30, 2008, 12:53:58 pm

thanx for reporting this. It is now fixed on sandbox

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

kdas

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Re: Tried CRM-2736 - Batch Update via Profile for Participant Records in 2.1
August 30, 2008, 01:52:58 pm
I was surprized. You fixed it so fast within an hour. I will continue testsing the Custom fields now.
Thanks so much.
KDas

kdas

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Re: Tried CRM-2736 - Batch Update via Profile for Participant Records in 2.1
August 30, 2008, 02:25:12 pm
Added Custom Participant fields:
Booth Name, Time.

Both fields are also added to Participant profile.

If you add/update Booth Name value, it is correctly shown when you do Batch Update via profile. Once I was also able to update using Batch Update via profile that was correctly displayed in Edit mode.

Using Batch Update via profile, if you add a Booth Name in a row that previously had a null value you get the crash listed below. You may also get the crash if you sometime modify existing Booth value though I remember at least once I didn't get crash first time. Now it is consistently crashing.

backTrace


/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Core/Error.php, backtrace, 138
, handle,
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/PEAR.php, call_user_func, 912
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/DB/DataObject/Error.php, PEAR_Error, 44
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/PEAR.php, DB_DataObject_Error, 576
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/DB/DataObject.php, raiseError, 4123
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/DB/DataObject.php, raiseError, 1330
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Core/DAO.php, update, 277
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Event/BAO/Participant.php, save, 95
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Event/BAO/Participant.php, add, 194
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Event/Form/Task/Batch.php, create, 230
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Core/Form.php, postProcess, 246
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Core/StateMachine.php, mainProcess, 166
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Core/QuickForm/Action/Next.php, perform, 63
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Core/Controller.php, handle, 232
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Core/Invoke.php, run, 197
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/drupal/civicrm.module, invoke, 315
, civicrm_invoke,
/var/www/drupal-6.civicrm.org/public/includes/menu.inc, call_user_func_array, 346
/var/www/drupal-6.civicrm.org/public/index.php, menu_execute_active_handler, 18


backTrace


/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Core/Error.php, backtrace, 150
, handle,
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/PEAR.php, call_user_func, 912
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/DB/DataObject/Error.php, PEAR_Error, 44
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/PEAR.php, DB_DataObject_Error, 576
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/DB/DataObject.php, raiseError, 4123
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/DB/DataObject.php, raiseError, 1330
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Core/DAO.php, update, 277
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Event/BAO/Participant.php, save, 95
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Event/BAO/Participant.php, add, 194
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Event/Form/Task/Batch.php, create, 230
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Core/Form.php, postProcess, 246
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Core/StateMachine.php, mainProcess, 166
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Core/QuickForm/Action/Next.php, perform, 63
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Core/Controller.php, handle, 232
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Core/Invoke.php, run, 197
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/drupal/civicrm.module, invoke, 315
, civicrm_invoke,
/var/www/drupal-6.civicrm.org/public/includes/menu.inc, call_user_func_array, 346
/var/www/drupal-6.civicrm.org/public/index.php, menu_execute_active_handler, 18


 

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: Tried CRM-2736 - Batch Update via Profile for Participant Records in 2.1
August 30, 2008, 06:43:39 pm

can you come up with a sequence that gives an error consistently? i tried multiple times with your suggestions and failed to reproduce it :(

please let me know the exact sequence of steps / buttons to press etc

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

kdas

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Re: Tried CRM-2736 - Batch Update via Profile for Participant Records in 2.1
August 30, 2008, 08:54:52 pm
I tried on a different PC now.
http://sandbox.civicrm.org
After login, click  CiviEvent from the left pane. You will see event 'Test Event1'.
Click Registered/Attended link in the same row. You will see 6 participants.
Click radio button Select Record: All 6 records
Select Batch Update Participants Via Profile, then click Go.
Select Profile 'Participant Profile1'. Click Continue.
In the Custom field 'Booth Name' for any row update any existing value, or enter  a new value for row where Booth Name is null.
Click button 'Update Participants'
I got the crash. I tried few times and it was consistent.

backTrace


/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/CRM/Core/Error.php, backtrace, 138
, handle,
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/PEAR.php, call_user_func, 912
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/DB/DataObject/Error.php, PEAR_Error, 44
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/PEAR.php, DB_DataObject_Error, 576
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/DB/DataObject.php, raiseError, 4123
/var/www/drupal-6.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/DB/DataObject.php, raiseError, 1330
....lot more...

kdas

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Re: Tried CRM-2736 - Batch Update via Profile for Participant Records in 2.1
August 30, 2008, 09:02:09 pm
Please note that I used Interner Explorer 6.0 and 7.0 to reproduce.

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: Tried CRM-2736 - Batch Update via Profile for Participant Records in 2.1
August 31, 2008, 02:16:54 am

this is now fixed on sandbox

however, i did notice that you cannot use batch update to set a value to empty. I've filed an issue for 2.2 for this

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

kdas

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Re: Tried CRM-2736 - Batch Update via Profile for Participant Records in 2.1
August 31, 2008, 08:35:28 am
Thanks so much for fixing this.  :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Tried CRM-2736 - Batch Update via Profile for Participant Records in 2.1

This forum was archived on 2017-11-26.