I was planning on fixing this in the Java code. Be patient! ;-)
-Adrian
[email protected] wrote:
Author: jonesde
Date: Mon Dec 15 14:08:31 2008
New Revision: 726837
URL: http://svn.apache.org/viewvc?rev=726837&view=rev
Log:
Fixed issue with ambiguous syntax using the new UEL stuff and in this case a
productId with an arithmetic symbol in it, namely the minus sign
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml?rev=726837&r1=726836&r2=726837&view=diff
==============================================================================
---
ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml
(original)
+++
ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml
Mon Dec 15 14:08:31 2008
@@ -62,7 +62,7 @@
<!-- now for more fun, split up by productId; this should generally
not happen, but we'll make sure here -->
<clear-field field-name="oiirailByProdMap"/>
<iterate entry-name="orderItemShipGrpInvResAndItemLocation"
list-name="perLocationOiirailList">
- <field-to-list field-name="orderItemShipGrpInvResAndItemLocation"
list-name="oiirailByProdMap.${orderItemShipGrpInvResAndItemLocation.productId}"/>
+ <field-to-list field-name="orderItemShipGrpInvResAndItemLocation"
list-name="oiirailByProdMap["${orderItemShipGrpInvResAndItemLocation.productId}"]"/>
</iterate>
<clear-field field-name="perProductOiirailList"/>