You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Scott Gray (JIRA)" <ji...@apache.org> on 2007/01/10 08:55:27 UTC

[jira] Commented: (OFBIZ-608) DemoShipping data causes problems

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

Scott Gray commented on OFBIZ-608:
----------------------------------

DemoShipping.patch corrects the issue in the demo data, but perhaps the code in removeShipmentEstimate coould be improved to account for this problem since the data model allows this to occur?

> DemoShipping data causes problems
> ---------------------------------
>
>                 Key: OFBIZ-608
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-608
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>            Reporter: Scott Gray
>             Fix For: SVN trunk
>
>         Attachments: DemoShipping.patch
>
>
> the DemoShipping.xml data file uses ShipmentCostEstimates that share the same QuantityBreak entities, this isn't supported in the UI when attempting to delete a ShipmentCostEstimate as the code attempts to delete related QuantityBreaks causing foreign key exceptions.  The service code that fails is removeShipmentEstimate in ShipmentServices.java.
> I kept the priority as major because this causes a stumbling block for newcomers using the Production Setup Guide.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira