You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Rishi Solanki (JIRA)" <ji...@apache.org> on 2015/04/03 16:04:53 UTC

[jira] [Commented] (OFBIZ-6216) ProductStoreData.xml contains UPS NEXT_DAY not present in ShippingData.xml

    [ https://issues.apache.org/jira/browse/OFBIZ-6216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394451#comment-14394451 ] 

Rishi Solanki commented on OFBIZ-6216:
--------------------------------------

[~ofbizzer]: I see there is no entry in any ofbiz-component.xml (trunk) so these data won't be loaded on running load-seed or on running any data command. Also it is loaded on running the SetupEvents.xml  method createProductStoreWithDefaultSetting. Last point to notice is the ProductStore entity not available in the system with productStoreId as 'PRODUCTSTOREID'. So I think the data referred in the ticket should have some precondition or can be loaded via some flow which needs to be follow. Quick reference of data with productStoreId not available which is causing the current problem you are facing;
{code} 
<ProductStorePaymentSetting productStoreId="PRODUCTSTOREID" paymentMethodTypeId="CREDIT_CARD" paymentServiceTypeEnumId="PRDS_PAY_AUTH" paymentService="alwaysApproveCCProcessor" paymentCustomMethodId="CC_AUTH_ALWAYSAPPROV"/>
{code}

I would say the files mentioned in the ticket should have comment on how to use them and in which case. I'll try to dig further and share more details. Any community member know the reason then please share. Thanks!

> ProductStoreData.xml contains UPS NEXT_DAY not present in ShippingData.xml
> --------------------------------------------------------------------------
>
>                 Key: OFBIZ-6216
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6216
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Trunk
>            Reporter: Christian Carlow
>            Priority: Trivial
>
> A foreign key error is thrown when shipping data is manually entered by copying the xml from ProductStoreData.xml into the text field at https://localhost:8443/webtools/control/entityImport after doing the same for ShippingData.xml.  I don't think the error is seen when the data is imported by running load-seed because it creates dummy foreign keys.



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