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) »
  • Bug with Adding People to Events
Pages: [1]

Author Topic: Bug with Adding People to Events  (Read 1844 times)

vshura

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 1
  • CiviCRM version: 4.6.0
  • CMS version: Wordpress 4.1.1
Bug with Adding People to Events
March 20, 2009, 10:59:47 am
Hi all,

I think I've found a bug with CiviCRM 2.2, on Drupal.

Here are the steps involved:

  • I do a particular lookup with a view to adding all the contacts in this lookup to an event.
  • Select the 'All <number> records' option (as opposed to selecting them all with the button below and then selecting 'Selected records only').
  • Select 'Add Contacts to Event' from the drop-down box and hit go.
  • Fill out the form in the usual way (I selected 'Attendee' and 'Attended' in both options, left the others unchanged), then hit save.

What seems to happen is that all records in your database are then added to the event, not just the ones you selected in the lookup.  I've found this on my own installation of 2.2, and in the demo site, both on Drupal.  This didn't happen in the previous versions.  Or am I mistaken somehow?

VS.

vshura

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 1
  • CiviCRM version: 4.6.0
  • CMS version: Wordpress 4.1.1
Re: Bug with Adding People to Events
March 20, 2009, 11:10:56 am
Actually, an update to this. 

It seems that it's not just for adding people to events.  In playing around with the demo it's also true for if you're adding people to a tag.  So I'd imagine it's more a problem with 'All <num> records' option, than events or tags.

VS.

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: Bug with Adding People to Events
March 20, 2009, 11:42:40 am

can you please file an issue and we'll fix it for 2.2.1

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

vshura

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 1
  • CiviCRM version: 4.6.0
  • CMS version: Wordpress 4.1.1
Re: Bug with Adding People to Events
March 21, 2009, 02:14:33 am
Quote from: Donald Lobo on March 20, 2009, 11:42:40 am

can you please file an issue and we'll fix it for 2.2.1


Done.

http://issues.civicrm.org/jira/browse/CRM-4270

Thanks,
VS.

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: Bug with Adding People to Events
March 22, 2009, 09:51:17 pm

a couple of us tried reproducing this on demo and could not do so

can you try reproducing again and note down your steps VERY carefully and give us exact steps to reproduce

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

vshura

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 1
  • CiviCRM version: 4.6.0
  • CMS version: Wordpress 4.1.1
Re: Bug with Adding People to Events
March 23, 2009, 09:00:42 am
Hi.

Ok, I've been looking again at my own installation and the demo one.  On my own installation, there's something wrong and the above instructions cause the bug to happen.  I'll uninstall and reinstall it, and see what happens.

On the demo site, there is a problem, but it isn't as bad.  The above instructions don't produce a bug, but the following does:

  • Click on 'Advanced Search' in the left sidebar.
  • Do a search for a number of people - I typed the letter 'b' in the 'Complete OR partial Contact Name' text box, and then hit search.  As of 23rd March, 2009, there is 13 contacts in this search. 
  • Click the letter 'A' to refine the search to contacts whose name begins with 'a'.  As of 23rd March, 2009, there are three such contacts.
  • Select 'All 3 contacts' radio, then choose 'Tag Contacts (assign tags)', then press 'Go'.

The next page will show that the tag you are about to select is going to be added to all 13 contacts, not just the three previous selected.  If you go ahead and apply the tag, it applies it to all 13 contacts.

When I went to verify the error in my own installation, this is how I checked it on the demo, so I made the assumption that the errors were identical.  Now it looks like there's errors in both, but they're not identical.  Apologies for the confusion.

Can you try this to see if I'm mistaken again, Donald?

VS.

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: Bug with Adding People to Events
March 23, 2009, 11:24:13 am

for 2.2 and prior the various tasks do not respect the sortByCharacter filter. This is a bug, we'll fix this for 2.3. If important to you please consider filing a patch

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: Bug with Adding People to Events
March 23, 2009, 01:55:39 pm
Hi Lobo - this is the bug we reported sometime ago but never figured the trigger - I have replicated above on our system - and yes it causes the problem we had so maybe that was the trigger.

Has the potential to cause catastrophic problems? You know, find 125 people, click on a letter, then click on 'all', then use more actions to delete and end up wiping all contacts.  :P
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) »
  • Bug with Adding People to Events

This forum was archived on 2017-11-26.