-
Task
-
Resolution: Won't Do
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
We do have info.magnolia.imaging.util.ColorConverter, and it is used by info.magnolia.imaging.operations.text.TextStyleTransformer, but somehow we're missing the ability to convert all colors.
This might be due to the fact we can't globally register converters for types, except by modifying info.magnolia.content2bean.impl.Content2BeanTransformerImpl#Content2BeanTransformerImpl, which is where we could register a org.apache.commons.beanutils.Converter. The imaging module might get away with globally (statically) register a converter, but I'm not convinced this will work, since Content2BeanTransformerImpl is probably already initialized by then.
- is related to
-
MAGNOLIA-3583 node2bean: support for java.util.MessageFormat and java.util.regex.Pattern
- Closed
-
MAGNOLIA-2724 c2b: improve transformer discovery
- Closed