Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-817

Require Inventory of Marketing Package Product can't be shipped

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • 14.12.01, 12.04.06, 13.07.03, 16.11.01
    • order
    • None
    • February 2007 svn

    • Bug Crush Event - 21/2/2015

    Description

      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)

      Attachments

        1. OFBIZ-817.patch
          2 kB
          Ratnesh Upadhyay

        Activity

          People

            jleroux Jacques Le Roux
            danielkunkel Daniel Kunkel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: