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

Error while saving contact with 2 addresses: "The Location Type should be set if there is Address information."

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.1
    • Fix Version/s: 4.7.3
    • Component/s: None
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      Steps to reproduce:
      1. Edit organization contact.
      2. Add first address selecting "Main" location type.
      3. Add second address selecting any other location type, e. g. "Home"
      4. Save contact.
      5. Edit contact again.
      6. Save without applying any changes.

      Excepted result:
      Saving contact without any changes shouldn't produce errors.
      Select for location type for second address is set as "Home".

      Actual result:
      Error is displayed after attempt to save contact: "The Location Type should be set if there is Address information."
      Select for location type for second address is set as "Main".

        Attachments

        1. Screenshot-contact.png
          47 kB
          Hanna Mazurkiewicz
        2. Screenshot-edit.png
          130 kB
          Hanna Mazurkiewicz

          Activity

            People

            • Assignee:
              monish.deb Monish Deb
              Reporter:
              hmazurkiewicz Hanna Mazurkiewicz
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: