Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-13503 CiviHR - Cross-Cutting - Framework (other)
  3. CRM-13512

Country and state columns are transposed in multi-value custom data

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.0
    • Fix Version/s: None
    • Component/s: CiviCRM Profile, CiviHR
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Create a multi-value custom-data group by installing the org.civicrm.hrident module ( https://github.com/civicrm/civihr/tree/master/hrident/ )

      2. Navigate to the current user's contact record. In the Identification tab, add some records.

      3. Create a profile form. Include at least two fields, "State/Province - Identification" and "Country - Identification". With both fields, enable the option "Include in multi-record listing?"

      4. View the profile form (e.g. civicrm/profile/edit?reset=1&gid=...). Observe that the content of the State/Province column is swapped with the content of the Country column. (Screenshot attached.)

      Comments: I did this twice – e.g. built test site, installed extension, and reproduced the problem; then destroyed site and repeated. I double/triple-checked that the rows in civicrm_uf_field are sane (i.e. the weights look normal, and the labels are appropriate for the fields). I think I tested on upstream/4.3 earlier today, but I'm currently testing on upstream/master.

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: