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) »
  • reproducable bug: event template not creating a unique price set for quick fee
Pages: [1]

Author Topic: reproducable bug: event template not creating a unique price set for quick fee  (Read 789 times)

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
reproducable bug: event template not creating a unique price set for quick fee
October 16, 2012, 07:44:48 pm
I have reproduced this on the demo server for 4.2.2.  IMHO this is a MAJOR bug (couldn't find it on Jira)

1. create event template A and add two entries for fee (no price sets were created)
2. create event template B, based on template A
3. Change fees in template B
4. Fees are changed for template A

This is the same if you create an event from a template and change the FEE - it will change all fees for template AND all events.
I verified in the DB that a unique price_set is not created for templates (how about for copies of events???)

I understand why it may be desired to link a template to all instances based on the template rather than create a new price set but that was not what was expected.  If that's the case then:
1. a change to the event based on template should create a new price_set.
2. a template based on template should create a new price set
3. The user should be warned that this is happening. 

I couldn't find the actual code to see if there is an obvious fix.
« Last Edit: October 16, 2012, 10:16:34 pm by sonicthoughts »

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: reproducable bug: event template not creating a unique price set for quick fee
October 17, 2012, 02:41:08 am
sonicthoughts :

We 'll investigate it and get back to you on this.

-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: reproducable bug: event template not creating a unique price set for quick fee
October 17, 2012, 05:28:32 am
Thanks.  I haven't had a chance to investigate all scenarios where this occurs and if it is only on 4.2.2.  Note that there have been some other discussions about event issues which may be related this.  Please let me know if i can provide more information.  S.

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: reproducable bug: event template not creating a unique price set for quick fee
October 17, 2012, 06:47:21 am
sonicthoughts :

I was able to replicate this on my local install, and we will file an issue and fix this soon.

Thanks for catching this!
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
Re: reproducable bug: event template not creating a unique price set for quick fee
October 17, 2012, 08:59:43 am
Thanks, sonicthoughts. See http://issues.civicrm.org/jira/browse/CRM-11077
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: reproducable bug: event template not creating a unique price set for quick fee
October 17, 2012, 09:00:58 am
Great! Let me know if you would like me to test a patch.  thanks. S.

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: reproducable bug: event template not creating a unique price set for quick fee
October 24, 2012, 10:38:05 pm
sonicthoughts :

We 'll test and get back to you on this!

-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • reproducable bug: event template not creating a unique price set for quick fee

This forum was archived on 2017-11-26.