Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-10812

Cannot Edit some Contributions After 4.2 Upgrade

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.2
    • Component/s: CiviContribute
    • Labels:

      Description

      Hi,

      I recently upgraded from 4.0 to 4.2 . It works great, however, When I edit SOME contribution records and hit Save, I receive an error that produces the following backtrace. Seems like it has to do with Price Sets.

      ----------------------------------------------------------

      Notice: Undefined index: price_field_id in Drupal/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution.php on line 1175

      backTrace
      Drupal/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 293
      Drupal/sites/all/modules/civicrm/CRM/Core/DAO.php, fatal, 721
      Drupal/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution.php, getFieldValue, 1175
      Drupal/sites/all/modules/civicrm/CRM/Core/Form.php, postProcess, 246
      Drupal/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Upload.php, mainProcess, 151
      Drupal/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Upload.php, realPerform, 128
      Drupal/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
      Drupal/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
      public_html/Drupal/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 289
      public_html/Drupal/sites/all/modules/civicrm/CRM/Contribute/Page/Tab.php, run, 296
      Drupal/sites/all/modules/civicrm/CRM/Contribute/Page/Tab.php, edit, 353
      Drupal/sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 228
      Drupal/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 500
      , civicrm_invoke,
      Drupal/includes/menu.inc, call_user_func_array, 503
      Drupal/index.php, menu_execute_active_handler, 21

      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.

      ----------------------------------------------------------------------------
      Any ideas?

      NOTE: If this matters, I also upgraded PHP 5.2 to 5.3 and MySQL 5.0 to 5.1

        Attachments

          Activity

            People

            • Assignee:
              joemurray Joe Murray
              Reporter:
              ldugger leslie dugger
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: