Uploaded image for project: 'Magnolia Personalization'
  1. Magnolia Personalization
  2. MGNLPN-522

Cannot Create Cookie Trait Using Composite Fields on 6.x

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an issue
    • Neutral
    • None
    • None
    • None
    • None

    Description

      I have attached a sample config for a cookie trait composed of a composite field.
      All you have to do is import this into modules/personalization-traits/traits/cookies/ruleField and use one of the two paths below.

      Path 1
      Open Segments App
      Click “Add Segment”
      On the “Traits” tab, click “Add”
      Select “Query Parameter” (this is the name of the attached trait)
      Error “Failed to create multi field entry”

      Path 2
      Select a page variant
      Select “Choose Audience”
      Add a trait and select “Query Parameter”
      Error “Failed to create multi field entry”

      Expected Results
      The trait can be selected and created within a segment without problems.

      Actual Results
      you get an error when selecting the trait

      Additional Notes

      • I tried with info.magnolia.ui.form.field.transformer.multi.DelegatingMultiValueFieldTransformer and
        info.magnolia.ui.form.field.transformer.composite.DelegatingCompositeFieldTransformer just to test them out and still got same error.
      • This was tested on 6.2.6 and 5.7.7. Failed on 6.2.6. For 5.7.7, I was able to import the config, create a segment with the trait and even choose an audience without problems.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              jnodarse Julian Nodarse
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD