Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3055

Content2Bean should not try to lookup Transformer classes for primitive or array types

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.3
    • None
    • core
    • None

    Description

      Currently, c2b's TypeMappingImpl is pretty naïve, and tries to lookup a Transformer by appending Transformer to the property's class name (beanClass.getName() + "Transformer"). This won't work for array or primitive types. [Lcom.foobar.MyClassNameTransformer; intTransformer.

      Additionally, this will fail miserably when attempting to load classes off the repository because of the [ character.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              gjoseph Magnolia International
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD