You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2012/07/21 11:06:04 UTC

svn commit: r1364052 - /ofbiz/trunk/specialpurpose/ecommerce/data/DemoOrderTestData.xml

Author: jleroux
Date: Sat Jul 21 09:06:03 2012
New Revision: 1364052

URL: http://svn.apache.org/viewvc?rev=1364052&view=rev
Log:
A patch from Sumit Pandit for "Order view page - picking slip is throwing exception." https://issues.apache.org/jira/browse/OFBIZ-2810

At https://localhost:8443/ordermgr/control/orderview?orderId=DEMO10091 , In shipping panel at shipment row when click on "Packing Slip" it is throwing an exception in rendering the PDF.

Vikas: This is related to the demo order data for purchase order which is not set up correctly. For more information please refer to OFBIZ-1782
Sumit: Found an issue with demo data.
How to verify -
    Go to order detail page -
    https://localhost:8443/ordermgr/control/orderview?orderId=DEMO10091

    Then in shipment information section click on "Packing Slip" -
    https://localhost:8443/facility/control/PackingSlip.pdf?shipmentId=9999&externalLoginKey=EL564429820623

    Issue cause -
    Missing created date in Data.

    Resolution -
    Find patch in attachment.

jleroux: I crossed this recently and thought that the button should not show until packed. But it was rather coded to show "ERROR: No packages found for this shipment" in the PDF. I think it would be better to not show the button, but it's ok with me.


Modified:
    ofbiz/trunk/specialpurpose/ecommerce/data/DemoOrderTestData.xml

Modified: ofbiz/trunk/specialpurpose/ecommerce/data/DemoOrderTestData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/data/DemoOrderTestData.xml?rev=1364052&r1=1364051&r2=1364052&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/data/DemoOrderTestData.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/data/DemoOrderTestData.xml Sat Jul 21 09:06:03 2012
@@ -80,7 +80,7 @@ under the License.
     <OrderStatus orderStatusId="9008" statusId="ITEM_CREATED" orderId="DEMO10091" orderItemSeqId="00001" statusDatetime="2008-06-10 13:27:07.024" statusUserLogin="admin" lastUpdatedStamp="2008-06-10 13:27:07.279" lastUpdatedTxStamp="2008-06-10 13:27:07.022" createdStamp="2008-06-10 13:27:07.279" createdTxStamp="2008-06-10 13:27:07.022"/>
     <OrderContactMech orderId="DEMO10091" contactMechPurposeTypeId="SHIPPING_LOCATION" contactMechId="9200" lastUpdatedStamp="2008-06-10 13:27:07.294" lastUpdatedTxStamp="2008-06-10 13:27:07.022" createdStamp="2008-06-10 13:27:07.294" createdTxStamp="2008-06-10 13:27:07.022"/>
 
-    <Shipment shipmentId="9999" shipmentTypeId="PURCHASE_SHIPMENT" statusId="PURCH_SHIP_CREATED" primaryOrderId="DEMO10091" primaryShipGroupSeqId="00001" lastUpdatedStamp="2008-06-10 12:59:26.852" lastUpdatedTxStamp="2008-06-10 12:59:26.8" createdStamp="2008-06-10 12:59:26.852" createdTxStamp="2008-06-10 12:59:26.8"/>
+    <Shipment shipmentId="9999" shipmentTypeId="PURCHASE_SHIPMENT" statusId="PURCH_SHIP_CREATED" primaryOrderId="DEMO10091" primaryShipGroupSeqId="00001" lastUpdatedStamp="2008-06-10 12:59:26.852" lastUpdatedTxStamp="2008-06-10 12:59:26.8" createdStamp="2008-06-10 12:59:26.852" createdTxStamp="2008-06-10 12:59:26.8" createdDate="2008-06-10 12:59:26.8"/>
     <ShipmentItem shipmentId="9999" shipmentItemSeqId="00001" productId="GZ-2644" quantity="5"/>
     <ItemIssuance itemIssuanceId="9003" orderId="DEMO10091" orderItemSeqId="00001" shipGroupSeqId="00001" shipmentId="9999" shipmentItemSeqId="00001" issuedDateTime="2009-08-13 17:46:29.603" quantity="5"/>