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

non-recoverable error when renewing membership due to file upload field

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      This error shows up when selecting renew on a membership through their contact record. When I first attempted to reproduce this on the demo server there were no errors showing up. I then tried to remove all my "File" custom data fields from my civicrm install and the error went away. So to verify this is in fact a bug I added a custom data field group called "File Upload Test Data" and added one field called "My Photo" of type "File" to the demo server. Now when I try to renew a membership for the demo user I get the following error. It appears it is checking for a form field type of file but not finding it.

      Error Details:

      Array
      (
      [callback] => Array
      (
      [0] => CRM_Core_Error
      [1] => handle
      )

      [code] => -3
      [message] => QuickForm Error: nonexistent html element
      [mode] => 16
      [debug_info] => Element 'uploadFile' does not exist in HTML_QuickForm::getElement()
      [type] => HTML_QuickForm_Error
      [user_info] => Element 'uploadFile' does not exist in HTML_QuickForm::getElement()
      [to_string] => [html_quickform_error: message="nonexistent html element" code=-3 mode=callback callback=CRM_Core_Error::handle prefix="QuickForm Error: " info="Element 'uploadFile' does not exist in HTML_QuickForm::getElement()"]
      )

        Attachments

          Activity

            People

            • Assignee:
              pankaj Pankaj Sharma
              Reporter:
              agn507 Anthony Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: