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

Default location working incorrectly

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None

      Description

      on your demo site. Set up 2 x address locations. Made Home default.

      Added new individual. Wanted their primary location to be Work, so selected from drop down. hit save. get error msg

      Please correct the following errors in the form fields below:

      • Two locations cannot have same location type.

      Why is it referring to 'two locations'? Because if I then expand the 'additional location' i see that it is set to Work. (Part of the Bug)

      So I expand that and set it to - select - I get the msg

      Please correct the following errors in the form fields below:

      • The Location Type should be set if there is any location information.

      even though I put no data in there. so then i try collapsing the additional location in hope this will make it go away - but nothing improves.

      If I go back to Location Types, and unselect the 'default' all is good. so I think there is something causing the 'additional location' to be filled by type, when it should not be.

      Further to above, it seems that even though I have set no default for Primary Location, (and it therefore offers 'select') as I expect, when I try and add a record with no address information I am now getting the message
      "Please correct the following errors in the form fields below:

      • The Location Type should be set if there is any location information."

        Attachments

          Activity

            People

            • Assignee:
              rahulbile Rahul Bile
              Reporter:
              peterd peter davis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified