Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-5120

Create company migration does not save references

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.5.0-beta1, 4.4.2
    • 4.4.0
    • None

    Description

      Create company migration does not save references.

      Steps:

      1. Execute following migration:
        -
          type: company
          mode: create
          metadata:
            creatorId: 14
          fields:
            -
              fieldDefIdentifier: active
              languageCode: eng-GB
              value: true
        
            (...)
        
          references:
            -
              name: 'ref__members_group_id__company__foo ltd.'
              type: members_group_id
            -
              name: 'ref__address_book_id__company__foo ltd.'
              type: address_book_id
            -
              name: 'ref__company_id__company__foo ltd.'
              type: content_id
        -
          type: reference
          mode: save
          filename: 'references/test_references.yaml'
        
      1. Check test_references.yaml file.

      Actual result: References related to company are not saved.
      Expected result: References related to company are saved.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              michal.szoltysek@ibexa.co Michał Szołtysek
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: