From notifications-return-24981-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Fri Apr 12 07:22:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id BA33F180621 for ; Fri, 12 Apr 2019 09:22:01 +0200 (CEST) Received: (qmail 66933 invoked by uid 500); 12 Apr 2019 07:22:01 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 66917 invoked by uid 99); 12 Apr 2019 07:22:00 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Apr 2019 07:22:00 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8E77FE28DF for ; Fri, 12 Apr 2019 07:22:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4A8C824599 for ; Fri, 12 Apr 2019 07:22:00 +0000 (UTC) Date: Fri, 12 Apr 2019 07:22:00 +0000 (UTC) From: "Nicolas Malin (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (OFBIZ-5028) Add converter for StringWrapper MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OFBIZ-5028?page=3Dcom.atlassia= n.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 (Str= ingWrapper 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: =20 if (noConversions.contains(key)) { throw new ClassNotFoundException("No converter found for " + key); }{code} =C2=A0 > 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 StringWrapp= er 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$St= ringWrapper to java.lang.String. Please report this message to the develope= r community so a suitable converter can be created. *** > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)