details: /erp/devel/pi/rev/60b3d13b2fef
changeset: 12500:60b3d13b2fef
user: Antonio Moreno <antonio.moreno <at> openbravo.com>
date: Thu May 26 16:27:12 2011 +0100
summary: Fixed issue 17374. If a combo value doesn't comply with a validation
in an existing record, it will be correctly included in the combo.
diffstat:
src/org/openbravo/erpCommon/utility/ComboTableData.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 297ca5a20c25 -r 60b3d13b2fef
src/org/openbravo/erpCommon/utility/ComboTableData.java
--- a/src/org/openbravo/erpCommon/utility/ComboTableData.java Thu May 26
17:21:47 2011 +0200
+++ b/src/org/openbravo/erpCommon/utility/ComboTableData.java Thu May 26
16:27:12 2011 +0100
@@ -1042,7 +1042,8 @@
int iParameter = 0;
iParameter = setSQLParameters(st, lparameters, iParameter, null);
boolean idFound = false;
- String actual = getParameter("@ACTUAL_VALUE@");
+ String actual = lparameters != null ? lparameters.get("@ACTUAL_VALUE@")
+ : getParameter("@ACTUAL_VALUE@");
result = st.executeQuery();
while (result.next()) {
SQLReturnObject sqlReturnObject = new SQLReturnObject();
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits