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

Empty Current Employer profile field disables employer relationship AND doesn't prefill on event registration form

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7
    • Component/s: CiviCRM Profile, CiviEvent
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      When a profile field is left empty by either an anonymous user or a user filling in the form for 'another contact', any existing value for this form should be left unchanged.

      If 'Current Employer' field is included in online event registration profile - this behavior works as expected for anonymous (not logged in) user. However, if a logged in user selects 'Register a different person' (cid=0) - then there are 2 bugs:

      1. If user selects a contact from the select2 combobox - if the selected contact has a current employer the field is not pre-filled.

      2. If does NOT select from combobox - but enters a contact w/ name and email matching an existing contact - and leaves the current employer field empty - then the existing current employer relationship for the matched contact is disabled (should be left unchanged).

        Attachments

        1. Contribution.png
          51 kB
          Jitendra Purohit
        2. event_registration.png
          31 kB
          Jitendra Purohit

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: