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

Migrate trait rule aggregator field to use the new delegating transformers.

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • 1.0
    • None
    • None
    • None

      We would benefit from using the newly introduced delegating value transformers:

      • The complexity of the trait fields would be unlimited as no assumptions will be made about the sub-fields.
      • The implementation of the transformer would be simplified because it would not have to take care of sub-field JCR I/O operations.

      The only known drawback of the approach is that the aggregating transformer wouldn't be able to control the property names of the sub-nodes (handled with sub-fields/transformers). Then the sub-transformers should take care of correct naming and prefixes. For the simple case (one-property fields) we introduce the transformer which enforces 'value' as a property name.

        Acceptance criteria

              apchelintcev Aleksandr Pchelintcev
              apchelintcev Aleksandr Pchelintcev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR