[MGNLIMG-82] Register a node2bean transformer for colors Created: 03/May/11 Updated: 04/Nov/15 Resolved: 04/Nov/15 |
|
| Status: | Closed |
| Project: | Imaging |
| Component/s: | image operations, tools |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Magnolia International | Assignee: | Magnolia International |
| Resolution: | Won't Do | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoR: |
Empty
|
||||||||||||
| Date of First Response: | |||||||||||||
| Description |
|
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. |
| Comments |
| Comment by Christopher Zimmermann [ 05/Dec/13 ] |
|
For example so that color names could be used in configuration. |
| Comment by Michael Mühlebach [ 04/Nov/15 ] |
|
Given the thousands of other issues we have open that are more highly requested, we won't be able to address this issue in the foreseeable future. Instead we will focus on issues with a higher impact, and more votes. |