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

                 Key: MAGNOLIA-3055
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3055
             Project: Magnolia
          Issue Type: Improvement
          Components: core
            Reporter: Grégory Joseph
            Assignee: Grégory Joseph
             Fix For: 4.3


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to