Model Validation Engine duplicate listeners
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2947607
This commit is contained in:
parent
9583fa45dd
commit
cdb6040076
|
@ -49,6 +49,8 @@ import org.compiere.util.KeyNamePair;
|
|||
* https://sourceforge.net/tracker/?func=detail&aid=2804135&group_id=176962&atid=879332
|
||||
* <li>BF [ 2819617 ] NPE if script validator rule returns null
|
||||
* https://sourceforge.net/tracker/?func=detail&aid=2819617&group_id=176962&atid=879332
|
||||
* @author victor.perez@e-evolution.com, www.e-evolution.com
|
||||
* <li>BF [ 2947607 ] Model Validator Engine duplicate listeners
|
||||
*/
|
||||
public class ModelValidationEngine
|
||||
{
|
||||
|
@ -431,8 +433,8 @@ public class ModelValidationEngine
|
|||
list.add(listener);
|
||||
m_docValidateListeners.put(propertyName, list);
|
||||
}
|
||||
else
|
||||
list.add(listener);
|
||||
//else
|
||||
// list.add(listener);
|
||||
} // addDocValidate
|
||||
|
||||
/**
|
||||
|
@ -848,5 +850,11 @@ public class ModelValidationEngine
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
public Hashtable geDocValidateListeners()
|
||||
{
|
||||
return m_docValidateListeners;
|
||||
}
|
||||
|
||||
|
||||
} // ModelValidatorEngine
|
||||
|
|
Loading…
Reference in New Issue