svn commit: r932750 - /ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r932750 - /ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java

jleroux@apache.org
Author: jleroux
Date: Sat Apr 10 15:49:53 2010
New Revision: 932750

URL: http://svn.apache.org/viewvc?rev=932750&view=rev
Log:
A fixing patch from Bob Morley for r932681

Modified:
    ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java

Modified: ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java?rev=932750&r1=932749&r2=932750&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java (original)
+++ ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java Sat Apr 10 15:49:53 2010
@@ -444,7 +444,7 @@ public class OagisShipmentServices {
 
                                     if (UtilValidate.isNotEmpty(serialNumberList)) {
                                         for (int i = 0; i < quantityToUse; i++) {
-                                            String serialNumber = serialNumberList.get(0);
+                                            String serialNumber = serialNumberList.get(i);
 
                                             if (OagisServices.requireSerialNumberExist != null) {
                                                 // according to requireSerialNumberExist make sure serialNumber does or does not exist in database, add an error message as needed