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

Jacques Le Roux commented on OFBIZ-817:
---------------------------------------

Hi Swapnil,

I agree with you, since we can receive inventories of  MARKETING_PKG_AUTO, 
without regard to their components availability, I see no reasons why we could 
not ship them. 

BTW I tried the same with MARKETING_PKG_PICK and it works as expected: you need 
to have the components at hand to ship them even if you tried to receive an 
inventory before. Since they need to be picked this makes sense.

So this is a bug and I will commit and backport it

> Require Inventory of Marketing Package Product can't be shipped
> ---------------------------------------------------------------
>
>                 Key: OFBIZ-817
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-817
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Trunk
>         Environment: February 2007 svn
>            Reporter: Daniel Kunkel
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-817.patch
>
>
> Setting Require Inventory for a Marketing Product and (or ???) its Marketing 
> Component causes the shiping system to fail. The shipping system reports 
> nothing is ready to ship, (  [0 + 0 = 0] < 1 ).
> ---- exception report 
> ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this 
> stack trace shows where this is happening:
> Exception: java.lang.Exception
> Message: Error in simple-method [Quick ships an entire order from multiple 
> facilities [file:/wrk/ofbiz/ofbiz/applications/
> product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#quickShipEntireOrder]]:
>  ; [Warning: no shipments created;
> could not find anything ready and needing to be shipped.]
> ---- stack trace 
> ---------------------------------------------------------------
> java.lang.Exception: Error in simple-method [Quick ships an entire order from 
> multiple facilities [file:/wrk/ofbiz/ofbiz/
> applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#quickShipEntireOrder]]:
>  ; [Warning: no shipments
> created; could not find anything ready and needing to be shipped.]
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:285)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:235)
> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:697)
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:105)
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:87)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:76)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:113)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:290)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:409)



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

Reply via email to