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 90F09200CDE for ; Tue, 8 Aug 2017 14:47:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8F48D163987; Tue, 8 Aug 2017 12:47:05 +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 D11AA16370B for ; Tue, 8 Aug 2017 14:47:04 +0200 (CEST) Received: (qmail 25796 invoked by uid 500); 8 Aug 2017 12:47:04 -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 25787 invoked by uid 99); 8 Aug 2017 12:47:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2017 12:47:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 9870D1807E8 for ; Tue, 8 Aug 2017 12:47:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id zPs61xHzH_uR for ; Tue, 8 Aug 2017 12:47:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id A49165FB3A for ; Tue, 8 Aug 2017 12:47:01 +0000 (UTC) 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 D6EF7E0DE3 for ; Tue, 8 Aug 2017 12:47: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 4046524161 for ; Tue, 8 Aug 2017 12:47:00 +0000 (UTC) Date: Tue, 8 Aug 2017 12:47:00 +0000 (UTC) From: "Jacques Le Roux (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (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: Tue, 08 Aug 2017 12:47:05 -0000 [ https://issues.apache.org/jira/browse/OFBIZ-7402?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1533= 7771#comment-15337771 ]=20 Jacques Le Roux edited comment on OFBIZ-7402 at 8/8/17 12:46 PM: ----------------------------------------------------------------- Hi [~jacques.le.roux]]=20 I have added steps to regenerate the issue in the description section along= with error message. was (Author: padma.rawat): Hi [~jleroux]=20 I have added steps to regenerate the issue in the description section along= with error message. > 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: Upcoming Release > > 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.4.14#64029)