Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5333

DOC: Valid Transformer implementations ported to ItemProviderStrategy

    XMLWordPrintable

Details

    Description

      ItemProviderStrategy is a simpler abstraction that has come to replace the Transformer functionality. While Transformer is responsible for both the read and write operations, ItemProviderStrategy only needs to know how to access the data with persistence typically handled elsewhere. This supposedly will simplify the port.

      Results

      Some existing Transformer implementations will be completely ditched, while those that are still valid will be ported to ItemProviderStrategy.

      For the preliminary investigation, see DEV-1302. For the actual implementation, see MGNLUI-5340 and MGNLPN-444.

      Note

      The following 4 field Transformer classes are not listed at https://documentation.magnolia-cms.com/display/DOCS61/_Transformer+classes:

      • info.magnolia.ui.form.field.transformer.basic.BCryptTransformer
      • info.magnolia.ui.form.field.transformer.basic.ListToSetTransformer
      • info.magnolia.ui.form.field.transformer.basic.NotNullInitialStringValueTransformer
      • info.magnolia.ui.form.field.transformer.item.FileTransformer

      Rico: I think those can be ditched, but let's wait for the implementation.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mdrapela Martin Drápela
                akhamis Ashraf Khamis
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR