ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Malin (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OFBIZ-5028) Add converter for StringWrapper
Date Fri, 12 Apr 2019 07:22:00 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-5028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nicolas Malin closed OFBIZ-5028.
--------------------------------
       Resolution: Fixed
    Fix Version/s: Upcoming Branch

I detected the same case with StringBuffer, I commited added converter (StringWrapper and
StringBuffer) on trunk at revision 1857371.

I didn't change the log because by defaut the system generate an exception
{code:java}
Converters.java:  
if (noConversions.contains(key)) {
    throw new ClassNotFoundException("No converter found for " + key);
}{code}
 

> Add converter for StringWrapper
> -------------------------------
>
>                 Key: OFBIZ-5028
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5028
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Christoph Neuroth
>            Assignee: Nicolas Malin
>            Priority: Major
>             Fix For: Upcoming Branch
>
>         Attachments: StringWrapperConverter.patch
>
>
> Currently, ofbiz logs a WARNING every time it tries to output StringWrapper objects.
Attaching a patch which will prevent this by adding a converter.
> Example log message:
> {code}
> *** No converter found, converting from org.ofbiz.base.util.StringUtil$StringWrapper
to java.lang.String. Please report this message to the developer community so a suitable converter
can be created. ***
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message