From 709ccb6927ede6aab620f2f09e8b5bfd39141506 Mon Sep 17 00:00:00 2001 From: Ashish Vijaywargiya Date: Thu, 3 Sep 2009 14:51:29 +0000 Subject: [PATCH] Small fix - This was blocking Ebay request with empty description. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810981 13f79535-47bb-0310-9956-ffa450edef68 --- .../ebay/src/org/ofbiz/ebay/ProductsExportToEbay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specialpurpose/ebay/src/org/ofbiz/ebay/ProductsExportToEbay.java b/specialpurpose/ebay/src/org/ofbiz/ebay/ProductsExportToEbay.java index c23ec5b2c7..3c7279982e 100755 --- a/specialpurpose/ebay/src/org/ofbiz/ebay/ProductsExportToEbay.java +++ b/specialpurpose/ebay/src/org/ofbiz/ebay/ProductsExportToEbay.java @@ -229,7 +229,7 @@ public class ProductsExportToEbay { ProductContentWrapper pcw = new ProductContentWrapper(dctx.getDispatcher(), prod, locale, "text/html"); StringUtil.StringWrapper ebayDescription = pcw.get("EBAY_DESCRIPTION"); - if (UtilValidate.isNotEmpty(ebayDescription)) { + if (UtilValidate.isNotEmpty(ebayDescription.toString())) { UtilXml.addChildElementCDATAValue(itemElem, "Description", ebayDescription.toString(), itemDocument); } else { UtilXml.addChildElementValue(itemElem, "Description", encoder.encode(prod.getString("productName")), itemDocument);