CRM-11166 Custom fields reset when changing contact sub-type

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.3.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Unsaved changes to all custom fields are lost when contact sub-type is modified.

      Steps to reproduce:
      Go to a contact edit screen
      Enter some information in a custom field
      Add or remove a contact sub-type
      Your changes have been lost - moreover the fieldset has been collapsed so you don't see that your changes were lost.

        Attachments

          Activity

          [CRM-11166] Custom fields reset when changing contact sub-type
          Coleman Watts added a comment -

          I have refactored the js for loading custom data.
          It's still not what I would call a proper ajax framework but it meets the immediate need.

          Coleman Watts added a comment -

          dlobo: custom fields are no longer overwritten, only added and removed

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              Coleman Watts

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h