You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacopo Cappellato <ti...@sastau.it> on 2007/07/10 21:20:36 UTC

Re: svn commit: r555042 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java

Anil,

thanks for fixing it!

Jacopo

apatel@apache.org wrote:
> Author: apatel
> Date: Tue Jul 10 11:53:59 2007
> New Revision: 555042
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=555042
> Log:
> fixed build problem because of a variable name.
> 
> Modified:
>     ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java
> 
> Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java?view=diff&rev=555042&r1=555041&r2=555042
> ==============================================================================
> --- ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java (original)
> +++ ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java Tue Jul 10 11:53:59 2007
> @@ -486,7 +486,7 @@
>                          // Order item adjustments
>                          List itemAdjustments = null;
>                          try {
> -                            itemAdjustments = orderItem.getRelated("OrderAdjustment");
> +                            itemAdjustments = item.getRelated("OrderAdjustment");
>                          } catch (GenericEntityException e) {
>                              Debug.logError(e, module);
>                              return ServiceUtil.returnError("Unable to obtain order item adjustments");
>