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

Batch update - Can't modify custom fields for a contact with 2 subtypes

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.19, 4.7.9
    • Fix Version/s: 4.7.10
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      When a contact has two subtypes, it is impossible to batch update custom fields via a profile.

      Steps to reproduce the bug:

      1. Create custom fields (image : batch_update-custom fields.png)
      2. Create a profile with this fields + a common fields like Middle Name (image : batch_update-profile.png)
      3. Create or use 2 subtypes like Student and Parent. And add this subtype to a contact. In my screen capture, it's Barkley Delana.
      4. Modify this contact via the profile. (image : batch_update-before.png)

      (This procedure can be tested today on Civicrm demo site with custom fields and profile that i have created : http://dmaster.demo.civicrm.org/civicrm/admin/uf/group?reset=1 )

      As you can see, on my screen captures, for the contact with 2 subtypes, custom fields are not updated. (image : batch_update-after.png)

        Attachments

        1. batch_update-after.png
          186 kB
          Philippe SAMPONT
        2. batch_update-before.png
          187 kB
          Philippe SAMPONT
        3. batch_update-custom fields.png
          173 kB
          Philippe SAMPONT
        4. batch_update-profile.png
          196 kB
          Philippe SAMPONT

          Activity

            People

            • Assignee:
              monish.deb Monish Deb
              Reporter:
              sampont Philippe SAMPONT
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified