Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B746D200BE8 for ; Thu, 8 Dec 2016 12:01:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B6047160B1F; Thu, 8 Dec 2016 11:01:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0D17B160B2C for ; Thu, 8 Dec 2016 12:01:03 +0100 (CET) Received: (qmail 79580 invoked by uid 500); 8 Dec 2016 11:01:03 -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 79502 invoked by uid 99); 8 Dec 2016 11:01:03 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2016 11:01:03 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B71542C03E9 for ; Thu, 8 Dec 2016 11:01:02 +0000 (UTC) Date: Thu, 8 Dec 2016 11:01:02 +0000 (UTC) From: "Deepak Dixit (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OFBIZ-7402) Catalog : Showing error when duplicating product MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 08 Dec 2016 11:01:04 -0000 [ https://issues.apache.org/jira/browse/OFBIZ-7402?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepak Dixit updated OFBIZ-7402: -------------------------------- Issue Type: Improvement (was: Bug) > Catalog : Showing error when duplicating product > ------------------------------------------------ > > Key: OFBIZ-7402 > URL: https://issues.apache.org/jira/browse/OFBIZ-7402 > Project: OFBiz > Issue Type: Improvement > Components: product > Affects Versions: Trunk > Reporter: Padmavati Rawat > Assignee: Deepak Dixit > Priority: Minor > Fix For: Trunk > > Attachments: Error in Duplicate Product.png > > > Steps:=20 > 1. Navigate on Catalog, and Create New Product. > 2. Fill all required details and click on update product. > 3. Duplicate Product section will open with updated product. > 4. Click on Duplicate button. > Actual : Not able to duplicate product in Catalog. It generates a non use= r friendly error message.=20 > Expected : Error message should be user friendly, and should be fixed if = there is any issue.=20 > {code} > Error message :=20 > The Following Errors Occurred: > Exception thrown while creating the "newProduct" GenericValue: org.ofbiz.= entity.GenericEntityException: Error while inserting: [GenericEntity:Produc= t][amountUomTypeId,null()][autoCreateKeywords,null()][billOfMaterialLevel,0= (java.lang.Long)][brandName,null()][chargeShipping,null()][comments,null()]= [configId,null()][createdByUserLogin,admin(java.lang.String)][createdDate,2= 016-06-18 16:44:17.857(java.sql.Timestamp)][createdStamp,2016-06-18 16:48:0= 3.861(java.sql.Timestamp)][createdTxStamp,2016-06-18 16:48:03.718(java.sql.= Timestamp)][defaultShipmentBoxTypeId,null()][depthUomId,null()][description= ,null()][detailImageUrl,null()][detailScreen,null()][diameterUomId,null()][= facilityId,null()][fixedAmount,null()][heightUomId,null()][inShippingBox,N(= java.lang.String)][includeInPromotions,null()][internalName,New Product(jav= a.lang.String)][introductionDate,null()][inventoryItemTypeId,NON_SERIAL_INV= _ITEM(java.lang.String)][inventoryMessage,null()][isVariant,N(java.lang.Str= ing)][isVirtual,N(java.lang.String)][largeImageUrl,null()][lastModifiedByUs= erLogin,admin(java.lang.String)][lastModifiedDate,2016-06-18 16:44:17.857(j= ava.sql.Timestamp)][lastUpdatedStamp,2016-06-18 16:48:03.861(java.sql.Times= tamp)][lastUpdatedTxStamp,2016-06-18 16:48:03.718(java.sql.Timestamp)][long= Description,null()][lotIdFilledIn,Allowed(java.lang.String)][manufacturerPa= rtyId,null()][mediumImageUrl,null()][orderDecimalQuantity,null()][originGeo= Id,null()][originalImageUrl,null()][piecesIncluded,null()][priceDetailText,= null()][primaryProductCategoryId,null()][productDepth,null()][productDiamet= er,null()][productHeight,null()][productId,10005(java.lang.String)][product= Name,null()][productRating,null()][productTypeId,FINISHED_GOOD(java.lang.St= ring)][productWeight,null()][productWidth,null()][quantityIncluded,null()][= quantityUomId,null()][ratingTypeEnum,null()][releaseDate,null()][requireAmo= unt,null()][requireInventory,null()][requirementMethodEnumId,null()][reserv= 2ndPPPerc,null()][reservMaxPersons,null()][reservNthPPPerc,null()][returnab= le,null()][salesDiscWhenNotAvail,null()][salesDiscontinuationDate,null()][s= hippingDepth,null()][shippingHeight,null()][shippingWeight,null()][shipping= Width,null()][smallImageUrl,null()][supportDiscontinuationDate,null()][taxa= ble,null()][virtualVariantMethodEnum,null()][weightUomId,null()][widthUomId= ,null()] (SQL Exception while executing the following:INSERT INTO OFBIZ.PRO= DUCT (PRODUCT_ID, PRODUCT_TYPE_ID, PRIMARY_PRODUCT_CATEGORY_ID, MANUFACTURE= R_PARTY_ID, FACILITY_ID, INTRODUCTION_DATE, RELEASE_DATE, SUPPORT_DISCONTIN= UATION_DATE, SALES_DISCONTINUATION_DATE, SALES_DISC_WHEN_NOT_AVAIL, INTERNA= L_NAME, BRAND_NAME, COMMENTS, PRODUCT_NAME, DESCRIPTION, LONG_DESCRIPTION, = PRICE_DETAIL_TEXT,=20 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)