Fixes issue 0019746: Problem introducing an attribute set value
authorJon Alegría <jon.alegria@openbravo.com>
Tue, 14 Feb 2012 12:25:32 +0100
changeset 15470 d960e016aae1
parent 15469 58391a9784bb
child 15471 4c398edd32ec
Fixes issue 0019746: Problem introducing an attribute set value
src/org/openbravo/erpCommon/info/AttributeSetInstance.java
--- a/src/org/openbravo/erpCommon/info/AttributeSetInstance.java	Tue Feb 14 12:24:40 2012 +0100
+++ b/src/org/openbravo/erpCommon/info/AttributeSetInstance.java	Tue Feb 14 12:25:32 2012 +0100
@@ -142,7 +142,7 @@
         if (attrUse.isActive() && attrUse.getAttribute().isActive()) {
           if (attrUse.getAttribute().isMandatory()) {
             attValues.put(replace(elementName),
-                vars.getRequiredStringParameter("inp" + elementName));
+                vars.getRequiredStringParameter("inp" + replace(elementName)));
           } else {
             attValues.put(replace(elementName),
                 vars.getStringParameter("inp" + replace(elementName)));