CRM-7249 Cannot change from Contact Sub-type to parent Type

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.4.alpha
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      It seems we cannot change a contact who is currently set to a sub-type to go their parent type.

      For example, if a contact is an "Individual" with sub-type "Parent", we cannot switch them to just an "Individual (with no sub-type). The form allows the switch in the dropdown, but it does not save the changes properly (the page just goes back to showing the sub-type).

      We can, however, change from one sub-type to another. So it seems the form is just not handling the removal/update of contact_sub_type in the civicrm_contact table.

        Attachments

          Activity

          [CRM-7249] Cannot change from Contact Sub-type to parent Type
          Rajan P Mayekar added a comment -

          Tested in r31985.

          Paul B added a comment -

          Hi there, is there any way we can get a patch file for version 3.3.5? Where can I find that, we'd like to resolve this in our current version. Thanks.

          David Greenberg added a comment -

          You can get a patch reflecting changes made in the 3.4 codebase from this link:
          https://fisheye2.atlassian.com/rdiff/CiviCRM/trunk/CRM/Contact/Form/Contact.php?r1=31451&r2=31956&u&N

          You MAY be able to apply the patch as is or you may have to modify it to work w/ 3.35. Definitely keep a backup of the affected file and do this on a test install.

            People

            • Assignee:
              Rajan P Mayekar
              Reporter:
              Paul B

              Dates

              • Created:
                Updated:
                Resolved: