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

Address info not visible in My Account/View when location_type = Primary is used in Profile Fields

    Details

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

      Description

      1. If location fields in a profile use location_type = Primary, rather than the actual location_type (e.g. Home) - the location fields' data shows up in My Account/Edit - but it does not show up in My Account/View

      2. If there is an EMPTY uf_group (e.g. there are NO uf_field records) - and that group is linked to User Registration... then you get a spurious error when trying to access user/register : "Organization and/or Household-related fields can not be included in a User Registration Profile form. Please contact the site administrator to report this problem.". In My Account, we ignore the empty profile (in both view and edit modes) - and this seems like reasonable behavior for User Registration as well.

      ---- original post ----
      We're trying to migrate our current CMS to CiviCRM + Drupal and we have a rather strange problem now.
      For the membership of our organisation, we added few extra fields on the Drupal registration page, using a CiviCRM profile.

      Those fields are there and most of them work as expected, but we have some problems with the address info. We have three fields, streetaddress, postal code and city. All of them are visible, but no info is displayed when the user is on the "view profile" page, although when you edit the address of the profile, the info address-info is there and can be changed.

      Tested with Drupal 4.7.4 and CiviCRM 1.5 rev7470.
      As this used to work with previous versions of CiviCRM, I think this might be a bug.

        Attachments

          Activity

            People

            • Assignee:
              rupam Rupam Jaiswal
              Reporter:
              lstroobant Luc Stroobant
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: