details:   https://code.openbravo.com/erp/devel/pi/rev/d960e016aae1
changeset: 15470:d960e016aae1
user:      Jon Alegría <jon.alegria <at> openbravo.com>
date:      Tue Feb 14 12:25:32 2012 +0100
summary:   Fixes issue 0019746: Problem introducing an attribute set value

diffstat:

 src/org/openbravo/erpCommon/info/AttributeSetInstance.java |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 58391a9784bb -r d960e016aae1 
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)));

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to