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

Standalone form for profile with CiviEvent fields throws an error

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      Step by step:

      1. Set up a profile with First Name, Last Name, Participant Status, Participant Role
      2. When trying to see the "Standalone form" for above, you get:

      backTrace

      /home/drupal/svn/civicrm_v1.7/CRM/Core/Error.php, backtrace, 231
      /home/drupal/svn/civicrm_v1.7/CRM/Profile/Form/Edit.php, fatal, 101
      /home/drupal/svn/civicrm_v1.7/CRM/Core/Form.php, preProcess, 281
      /home/drupal/svn/civicrm_v1.7/CRM/Core/QuickForm/Action/Display.php, buildForm, 99
      /home/drupal/svn/civicrm_v1.7/packages/HTML/QuickForm/Controller.php, perform, 195
      /home/drupal/svn/civicrm_v1.7/packages/HTML/QuickForm/Page.php, handle, 95
      /home/drupal/svn/civicrm_v1.7/CRM/Core/Controller.php, handle, 214
      /home/drupal/svn/civicrm_v1.7/CRM/UF/Page/Group.php, run, 209
      /home/drupal/svn/civicrm_v1.7/CRM/UF/Page/Group.php, profile, 161
      /home/drupal/svn/civicrm_v1.7/CRM/Core/Invoke.php, run, 610
      /home/drupal/svn/civicrm_v1.7/CRM/Core/Invoke.php, admin, 87
      /home/drupal/svn/civicrm_v1.7/drupal/civicrm.module, invoke, 289
      , civicrm_invoke,
      /home/drupal/public_html/drupal-4.7.3/includes/menu.inc, call_user_func_array, 418
      /home/drupal/public_html/drupal-4.7.3/index.php, menu_execute_active_handler, 15

      In the same time, the standalone form for a profile without CiviEvent fields works fine. Can be reproduced on http://dgg.qdev.civicrm.org/

      As an addition to this: trying to reach any of:
      /civicrm/profile?reset=1&gid=2
      /civicrm/profile/create?reset=1&gid=2
      /civicrm/profile/edit?reset=1&gid=2

      gives you an error as well.

        Attachments

          Activity

            People

            • Assignee:
              shailesh Shailesh Lende
              Reporter:
              mover Michał Mach
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: