CRM-1370 Profile adds duplicate/redundant location record if we keep the spaces in the location type name.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6
    • Labels:
      None

      Description

      1. If you create a location for a contact, and then modify the
      location type Name. If you then edit that location via a Profile / My
      Account - we create ANOTHER location for that contact rather than
      updating the existing location. This leaves us with two locations
      linked to the same location_type - and no way to get rid of the
      redundant one (since you can't delete locations via the UI).

      2. Once you have 2 locations tied to the same location_type, the
      behavior in My Account "View" and "Edit" is inconsistent. "View" picks
      up the "first" one, "Edit " picks up values from the "second" one.

      3.This problem occurs when there is a space in the location_type.name.

        Attachments

          Activity

          [CRM-1370] Profile adds duplicate/redundant location record if we keep the spaces in the location type name.
          Anil Kokitkar added a comment -

          fixed in revision 7540

          Swati Vaidya added a comment -

          Checked with r-7735

          Piotr Szotkowski added a comment -

          Reopening closed issues to make them editable.

          Piotr Szotkowski added a comment -

          Changing the issue to resolved and unverified for 1.8.

          Piotr Szotkowski added a comment -

          Make the issue unverified for 1.8.

          Piotr Szotkowski added a comment -

          Assigning to Rupam for 1.8 verification.

            People

            • Assignee:
              Rupam Jaiswal
              Reporter:
              Anil Kokitkar

              Dates

              • Created:
                Updated:
                Resolved: