Demo data bugfix: productTypeId is a required field of Product and records shouldn't be put into the db without supplying a value for it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1297416 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Scott Gray
2012-03-06 10:54:36 +00:00
parent 85b968b883
commit 05bf68608a
2 changed files with 3 additions and 3 deletions
@@ -159,8 +159,8 @@ under the License.
<!-- Demo invoice data for sales invoice with INVOICE_PAID status -->
<Party partyId="DemoCustAgent"/>
<PartyRole partyId="DemoCustAgent" roleTypeId="SALES_REP"/>
<Product productId="WG-9943"/>
<Product productId="WG-9943-B3"/>
<Product productId="WG-9943" productTypeId="FINISHED_GOOD"/>
<Product productId="WG-9943-B3" productTypeId="FINISHED_GOOD"/>
<Agreement agreementId="8000" partyIdFrom="Company" partyIdTo="DemoCustAgent" agreementTypeId="COMMISSION_AGREEMENT" description="Commission Agreement with DemoCustAgent"/>
<AgreementItem agreementId="8000" agreementItemSeqId="0001" agreementItemTypeId="AGREEMENT_COMMISSION" currencyUomId="USD" agreementText="Commission in USD"/>
+1 -1
View File
@@ -27,7 +27,6 @@ under the License.
<entity-resource type="data" reader-name="seed" loader="main" location="data/EcommerceTypeData.xml"/>
<entity-resource type="data" reader-name="seed" loader="main" location="data/EcommerceSecurityData.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoProduct.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoProductImages.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoSurvey.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoRentalShipping.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoShipping.xml"/>
@@ -40,6 +39,7 @@ under the License.
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoRelatedData.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoConfigurator.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoRentalProduct.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoProductImages.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoTaxAuthority.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoOrderPeopleData.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoOrderTestData.xml"/>