[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:
relation
is related to MAGNOLIA-3583 node2bean: support for java.util.Mess... Closed
is related to MAGNOLIA-2724 c2b: improve transformer discovery Closed
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.
Thanks for taking the time to raise this issue. As you are no doubt aware this issue has been on our backlog for some time now with very little movement.
I'm going to close this to set expectations so the issue doesn't stay open for years with few updates. If the issue is still relevant please feel free to reopen it or create a new issue.

Generated at Mon Feb 12 02:12:06 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.