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

Migrate traits to new UI framework

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Neutral Neutral
    • 2.0
    • None
    • None
    • None
    • UI Framework 11, UI Framework 12, UI Framework 13, UI Framework 14
    • 13

      As part of the effort, some Transformer s will need to be ported as well to the new ItemProviderStrategy.

      As part of MGNLUI-5272, the following existing transformers have been found

      info.magnolia.personalization.visitor.transformer.VisitorTraitListToSetTransformer

      •  Specific ListToSetTransformer for valueField in visitor trait which writes to the item also in case of an empty collection. Nothing to do here apparently.

      info.magnolia.personalization.cookie.CookieFieldTransformer

      • #getCompositePropertyName returns "cookieName" or "cookieValue" according to whether the arg is equal to the field name or not: need this as ItemProviderStrategy

      info.magnolia.personalization.ui.SimpleTraitValueTransformer

      • Simple extension of BasicTransformer which enforces 'value' as the resulting JCR property name.
      • Probably need this as ItemProviderStrategy**

      info.magnolia.personalization.ui.TraitAggregatorTransformer

      • Extension of DelegatingMultiValueFieldTransformer which takes care of trait voters set up.
      • Need this as ItemProviderStrategy
      • info.magnolia.personalization.ui.TraitValueCompositeTransformer
      • backs up trait value field which is similar to trait rule set field, but acts over simple trait values and is effectively a mixture of composite and multi-value fields

        Acceptance criteria

              apchelintcev Aleksandr Pchelintcev
              rkovarik Roman Kovařík
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 4d 5.85h
                    4d 5.85h