[ 2190961 ] The parameter with value null do not is create in process
http://sourceforge.net/tracker/index.php?func=detail&aid=2190961&group_id=176962&atid=879332
This commit is contained in:
parent
f898f4d773
commit
b5100fc3c4
|
@ -497,10 +497,6 @@ public class ProcessParameterPanel extends CPanel implements VetoableChangeListe
|
||||||
Object result2 = null;
|
Object result2 = null;
|
||||||
if (editor2 != null)
|
if (editor2 != null)
|
||||||
result2 = editor2.getValue();
|
result2 = editor2.getValue();
|
||||||
|
|
||||||
// Don't save NULL values
|
|
||||||
if (result == null && result2 == null)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
// Create Parameter
|
// Create Parameter
|
||||||
MPInstancePara para = new MPInstancePara (Env.getCtx(), m_processInfo.getAD_PInstance_ID(), i);
|
MPInstancePara para = new MPInstancePara (Env.getCtx(), m_processInfo.getAD_PInstance_ID(), i);
|
||||||
|
|
|
@ -349,10 +349,6 @@ implements ValueChangeListener, IProcessParameter
|
||||||
Object result2 = null;
|
Object result2 = null;
|
||||||
if (editor2 != null)
|
if (editor2 != null)
|
||||||
result2 = editor2.getValue();
|
result2 = editor2.getValue();
|
||||||
|
|
||||||
// Don't save NULL values
|
|
||||||
if (result == null && result2 == null)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
// Create Parameter
|
// Create Parameter
|
||||||
MPInstancePara para = new MPInstancePara (Env.getCtx(), m_processInfo.getAD_PInstance_ID(), i);
|
MPInstancePara para = new MPInstancePara (Env.getCtx(), m_processInfo.getAD_PInstance_ID(), i);
|
||||||
|
|
Loading…
Reference in New Issue