not able to add item to created order with 1 ship group
-------------------------------------------------------

                 Key: OFBIZ-3214
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3214
             Project: OFBiz
          Issue Type: Bug
          Components: order
    Affects Versions: Release Branch 4.0
            Reporter: Albert Mayo


If there is only 1 ship group, there is a missing parameter named 
"shipGroupSeqId" in the appendorderitem.ftl form.  The service this form calls, 
appendOrderItem, requires a shipGroupSeqId parameter.

The trunk version has it fixed by adding the following code at the top, but 
version 4.0 does not have a fix.  The trunk version was fixed on revision 
658036.

Trunk fix:
            <#if shipGroups?size == 1>
                <input type="hidden" name="shipGroupSeqId" 
value="${shipGroups.first.shipGroupSeqId}"/>
            </#if>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to