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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Error when editing a contribution from event fee in 4.2
Pages: [1]

Author Topic: Error when editing a contribution from event fee in 4.2  (Read 911 times)

crispin

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
    • Crispin Read dot co dot UK
  • CiviCRM version: various
  • CMS version: Drupal
  • MySQL version: various
  • PHP version: various
Error when editing a contribution from event fee in 4.2
September 28, 2012, 08:50:23 am
Think I have found a bug here - I can replicate this in the demo site.

Editing a contribution from an event fee brings up this error:

Sorry but we are not able to provide this at the moment.
We experienced an unexpected error. Please post a detailed description and the backtrace on the CiviCRM forums: http://forum.civicrm.org/
Return to home page.

Exact steps to reproduce:

  • Start with a contact record who has an event related contribution
  • Choose ‘Contributions’ from the menu row to view contributions
  • Choose a contribution and hit ‘Edit’ to go the edit screen
  • Make changes as need to e.g. Transaction ID, Receipt Date, Contribution Status etc
  • Choose ‘Save’ on the edit screen and the following message appears and the changes are not saved when you next look at contact’s contributions:



 
Say hello on Twitter: @crispin_read

Aahar

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 3
  • CiviCRM version: 3.4 and 4.0
  • CMS version: Drupal 6.17, 6.x and Drupal 7.x
  • PHP version: 5.2
Re: Error when editing a contribution from event fee in 4.2
October 04, 2012, 03:29:23 am
I get the same error. I can replicate it too.

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Error when editing a contribution from event fee in 4.2
October 05, 2012, 02:44:56 am
It would be useful if you could turn on debugging on the demo site / your site, and post the detailed backtrace that appears when you encounter this bug.

What specific version of 4.2.x are you on? 4.2.2 was recently released (27th October) which fixed a contribution API bug.  Not sure if that is related OR what version the demo site was on when you tested, but would be good to clear that up.

If it is still a bug on the demo site, then worth filing a bug report and investigating the fix if you have the resources/skills.

Michael
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

RachelWright

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 3
  • CiviCRM version: 4.2.7
  • CMS version: Joomla 2.5.17
  • MySQL version: 5.5.37
  • PHP version: 5.4.26
Re: Error when editing a contribution from event fee in 4.2
October 12, 2012, 02:21:50 pm
I get the same error as mentioned above, all of my profile settings are correct as far as Civi version etc.

Does this help:


Oct 12 15:15:08  [info] $Fatal Error Details = Array
(
    [message] => We experienced an unexpected error. Please post a detailed description and the backtrace on the CiviCRM forums: http://forum.civicrm.org/
   
Code: [Select]
=>
)


Oct 12 15:15:08  [info] $backTrace = /mysite/public_html/mysite/donate/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php, backtrace, 300
/mysite/public_html/mysite/donate/administrator/components/com_civicrm/civicrm/CRM/Core/DAO.php, fatal, 721
/mysite/public_html/mysite/donate/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution.php, getFieldValue, 1176
/mysite/public_html/mysite/donate/administrator/components/com_civicrm/civicrm/CRM/Core/Form.php, postProcess, 246
/mysite/public_html/mysite/donate/administrator/components/com_civicrm/civicrm/CRM/Core/QuickForm/Action/Upload.php, mainProcess, 151
/mysite/public_html/mysite/donate/administrator/components/com_civicrm/civicrm/CRM/Core/QuickForm/Action/Upload.php, realPerform, 128
/mysite/public_html/mysite/donate/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
/mysite/public_html/mysite/donate/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
/mysite/public_html/mysite/donate/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php, handle, 289
/mysite/public_html/mysite/donate/administrator/components/com_civicrm/civicrm/CRM/Contribute/Page/Tab.php, run, 296
/mysite/public_html/mysite/donate/administrator/components/com_civicrm/civicrm/CRM/Contribute/Page/Tab.php, edit, 353
/mysite/public_html/mysite/donate/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php, run, 228
/mysite/public_html/mysite/donate/administrator/components/com_civicrm/admin.civicrm.php, invoke, 87
/mysite/public_html/mysite/donate/administrator/components/com_civicrm/admin.civicrm.php, civicrm_invoke, 40
/mysite/public_html/mysite/donate/libraries/joomla/application/component/helper.php, require_once, 156
/mysite/public_html/mysite/donate/administrator/includes/application.php, renderComponent, 153
/mysite/public_html/mysite/donate/administrator/index.php, dispatch, 47

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: Error when editing a contribution from event fee in 4.2
October 12, 2012, 02:55:16 pm

we think this error has been fixed for 4.2.3

can you please try and reproduce this on our demo servers

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

RachelWright

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 3
  • CiviCRM version: 4.2.7
  • CMS version: Joomla 2.5.17
  • MySQL version: 5.5.37
  • PHP version: 5.4.26
Re: Error when editing a contribution from event fee in 4.2
October 15, 2012, 09:34:21 am
The demo site lets you save changes to event fee contributions just fine. It looks like that is CiviCRM 42624 (I assume that is above 4.2.0). So theoretically an upgrade should fix it!?

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Error when editing a contribution from event fee in 4.2
October 17, 2012, 01:53:05 am
The demo sites run pretty much the latest version of CiviCRM - somewhere between the latest released version and the version that is about to be released.

Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

RachelWright

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 3
  • CiviCRM version: 4.2.7
  • CMS version: Joomla 2.5.17
  • MySQL version: 5.5.37
  • PHP version: 5.4.26
Re: Error when editing a contribution from event fee in 4.2
October 18, 2012, 10:31:10 am
Just an update, the upgrade to 4.2.3 did fix this. I can now edit event fee contributions!!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Error when editing a contribution from event fee in 4.2

This forum was archived on 2017-11-26.