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

Can't add fee to an event or contribution page in update mode.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.20
    • Fix Version/s: 4.7.23
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      Can't add fee level to an event or contribution page in update mode. 

      /var/www/html/civicrm-stable-4.7/CRM/Core/Error.php(374): CRM_Core_Error:
      :backtrace()
      #1 /var/www/html/civicrm-stable-4.7/CRM/Core/DAO.php(1070): CRM_Core_Error::fatal()
      #2 /var/www/html/civicrm-stable-4.7/CRM/Price/BAO/PriceFieldValue.php(65): CRM_Core_DAO::getFieldValue
      ("CRM_Price_BAO_PriceFieldValue", NULL, "price_field_id")
      #3 /var/www/html/civicrm-stable-4.7/CRM/Price/BAO/PriceFieldValue.php(127): CRM_Price_BAO_PriceFieldValue
      ::add((Array:3), (Array:1))
      #4 /var/www/html/civicrm-stable-4.7/CRM/Price/BAO/PriceField.php(184): CRM_Price_BAO_PriceFieldValue
      ::create((Array:3), (Array:1))
      #5 /var/www/html/civicrm-stable-4.7/CRM/Event/Form/ManageEvent/Fee.php(670): CRM_Price_BAO_PriceField
      ::create((Array:9))
      #6 /var/www/html/civicrm-stable-4.7/CRM/Core/Form.php(447): CRM_Event_Form_ManageEvent_Fee->postProcess
      ()
      #7 /var/www/html/civicrm-stable-4.7/CRM/Core/QuickForm/Action/Upload.php(169): CRM_Core_Form->mainProcess
      ()
      #8 /var/www/html/civicrm-stable-4.7/CRM/Core/QuickForm/Action/Upload.php(136): CRM_Core_QuickForm_Action_Upload-
      >realPerform(Object(CRM_Event_Form_ManageEvent_Fee), "upload")
      #9 /var/www/html/civicrm-stable-4.7/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Upload-
      >perform(Object(CRM_Event_Form_ManageEvent_Fee), "upload")
      #10 /var/www/html/civicrm-stable-4.7/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller-
      >handle(Object(CRM_Event_Form_ManageEvent_Fee), "upload")
      #11 /var/www/html/civicrm-stable-4.7/CRM/Core/Controller.php(351): HTML_QuickForm_Page->handle(&quot
      ;upload")
      #12 /var/www/html/civicrm-stable-4.7/CRM/Utils/Wrapper.php(113): CRM_Core_Controller->run()
      #13 /var/www/html/civicrm-stable-4.7/CRM/Core/Invoke.php(284): CRM_Utils_Wrapper->run("CRM_Event_Form_ManageEvent_Fee
      ", "Event Fees", NULL)
      #14 /var/www/html/civicrm-stable-4.7/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:14))
      #15 /var/www/html/civicrm-stable-4.7/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:4))
      #16 /var/www/html/civicrm-stable-4.7/drupal/civicrm.module(448): CRM_Core_Invoke::invoke((Array:4))
      #17 [internal function](): civicrm_invoke("event", "manage", "fee")
      #18 /var/www/html/drupal-stable-4.7/includes/menu.inc(527): call_user_func_array("civicrm_invoke
      ", (Array:3))
      #19 /var/www/html/drupal-stable-4.7/index.php(21): menu_execute_active_handler()
      #20 {main}
      

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              yashodha Yashodha Chaku
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: