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

Mixed Profiles gives error in create/edit mode

    Details

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

      Description

      NOTE: Profiles containing Membership, Participant or Contribution fields can not be used as regular profile create/edit/search forms ("Profile is not configured for the selected action." ). I did a test of a civicrm/profile/edit?gid=x with a profile containing a single Participant field. It displayed the form and when I hit save and it threw a fatal error:

      Fatal error: CRM_Contact_BAO_Contact::require_once() [function.require]: Failed opening required 'CRM/Contact/BAO/Participant.php' (include_path='.:/home/civicrm.org/demo/public/drupal/sites/all/modules/civicrm/:/home/civicrm.org/demo/public/drupal/sites/all/modules/civicrm//packages:.:/usr/local/lib/php') in /home/civicrm.org/demo/svn/stable/CRM/Contact/BAO/Contact.php on line 573

      We should not display the create/edit forms to begin with for these cases

        Attachments

          Activity

            People

            • Assignee:
              shailesh Shailesh Lende
              Reporter:
              kurund Kurund Jalmi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: