You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2015/02/24 16:31:05 UTC

[jira] [Reopened] (OFBIZ-6096) Have some Quote demo data

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

Jacques Le Roux reopened OFBIZ-6096:
------------------------------------

At r1661984, I have commented out the loading of the OrderQuoteDemoData.xml file for now because of this issue while loading demo data (load-demo):

{code}
     [java] 2015-02-24 15:16:34,853 |main                 |GenericDelegator              |E| Failure in create operation for entity [QuoteItem]: org.ofbiz.entity.GenericEntityException: Error while inserting:
 [GenericEntity:QuoteItem][comments,10% off(java.lang.String)][createdStamp,2015-02-24 15:16:34.839(java.sql.Timestamp)][createdTxStamp,2015-02-24 15:16:34.731(java.sql.Timestamp)][lastUpdatedStamp,2015-02-24
 15:16:34.839(java.sql.Timestamp)][lastUpdatedTxStamp,2015-02-24 15:16:34.731(java.sql.Timestamp)][productId,GZ-1000(java.lang.String)][quantity,150.000000(java.math.BigDecimal)][quoteId,CQ0001(java.lang.Stri
ng)][quoteItemSeqId,00001(java.lang.String)][quoteUnitPrice,9.90(java.math.BigDecimal)] (SQL Exception while executing the following:INSERT INTO OFBIZ.QUOTE_ITEM (QUOTE_ID, QUOTE_ITEM_SEQ_ID, PRODUCT_ID, PROD
UCT_FEATURE_ID, DELIVERABLE_TYPE_ID, SKILL_TYPE_ID, UOM_ID, WORK_EFFORT_ID, CUST_REQUEST_ID, CUST_REQUEST_ITEM_SEQ_ID, QUANTITY, SELECTED_AMOUNT, QUOTE_UNIT_PRICE, RESERV_START, RESERV_LENGTH, RESERV_PERSONS,
 CONFIG_ID, ESTIMATED_DELIVERY_DATE, COMMENTS, IS_PROMO, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?
, ?) (INSERT on table 'QUOTE_ITEM' caused a violation of foreign key constraint 'QUOTE_ITM_PROD' for key (GZ-1000).  The statement has been rolled back.)). Rolling back transaction.
{code}

> Have some Quote demo data
> -------------------------
>
>                 Key: OFBIZ-6096
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6096
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Assignee: Jacques Le Roux
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-6096-OrderQuoteDemo.patch
>
>
> Quote demo data is missing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)