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 |
[ https://issues.apache.org/jira/browse/OFBIZ-608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Gray updated OFBIZ-608: ----------------------------- Attachment: DemoShipping.patch > 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 |
In reply to this post by Nicolas Malin (Jira)
[ 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 |
Free forum by Nabble | Edit this page |