You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Marcelo Giubergia (JIRA)" <ji...@apache.org> on 2011/08/29 23:41:39 UTC

[jira] [Updated] (OFBIZ-4381) ofbizsetup "INSERT CARRIER_SHIPMENT_METHOD" ERROR when new store is created

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

Marcelo Giubergia updated OFBIZ-4381:
-------------------------------------

    Attachment: OFBIZ-4381.patch

This patch add ShippingData in seed reader

/applications/commonext/ofbiz-component.xml



> ofbizsetup "INSERT CARRIER_SHIPMENT_METHOD" ERROR when new store is created 
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-4381
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4381
>             Project: OFBiz
>          Issue Type: Bug
>          Components: commonext/setup
>    Affects Versions: Release 10.04
>            Reporter: Marcelo Giubergia
>            Priority: Minor
>         Attachments: OFBIZ-4381.patch
>
>
> I installed ofbiz from scratch according with recommended method
> >ant clean-all
> >ant run-install-extseed
> >ant create-admin-setup
> >./startofbiz.sh
> Then, when I create an store by https://localhost:8443/ofbizsetup/control/createProductStore
> Error: Error parsing entity xml file: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:CarrierShipmentMethod][createdStamp,2011-08-29 11:16:33.247(java.sql.Timestamp)][createdTxStamp,2011-08-29 11:16:32.951(java.sql.Timestamp)][lastUpdatedStamp,2011-08-29 11:16:33.247(java.sql.Timestamp)][lastUpdatedTxStamp,2011-08-29 11:16:32.951(java.sql.Timestamp)][partyId,sds(java.lang.String)][roleTypeId,CARRIER(java.lang.String)][sequenceNumber,4(java.lang.Long)][shipmentMethodTypeId,LOCAL_DELIVERY(java.lang.String)] (SQL Exception while executing the following:INSERT INTO public.CARRIER_SHIPMENT_METHOD (SHIPMENT_METHOD_TYPE_ID, PARTY_ID, ROLE_TYPE_ID, SEQUENCE_NUMBER, CARRIER_SERVICE_CODE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: inserción o actualización en la tabla «carrier_shipment_method» viola la llave foránea «carr_shmeth_type»<br/> Detail: La llave (shipment_method_type_id)=(LOCAL_DELIVERY) no está presente en la tabla «shipment_method_type».)) calling service parseEntityXmlFile in importTempDataFile 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira