Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.0
    • Fix Version/s: None
    • Component/s: CiviHR, Extension System
    • Labels:
      None

      Description

      When using "civix generate:custom-data" with CRM_Utils_Migrate_Export and CRM_Utils_Migrate_Import, there are various problems when handling custom-data groups with subtypes (e.g. CustomGroups for RelationshipType or ActivityType) – e.g. "activity_type" OG can't be meaningfully exported/imported in this case (because activity_type_id's would conflict on new installations).

      For hremerg and CiviVolunteer, we worked around this by using the installer to create the reltype/acttype and using Smarty to modify the CustomData XML, but this approach currently requires too much manual involvement.

      When completed, CRM_Utils_Migrate_Export::buildCustomGroups() will produce portable XML documents that can be used by the CRM_Utils_Migrate_Import to create custom-groups which use subtypes (even if the subtypes have diff id's).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 6 hours
                1d 6h