diff --git a/base/src/org/compiere/model/Scriptlet.java b/base/src/org/compiere/model/Scriptlet.java index e7580a3e89..1a849b7335 100644 --- a/base/src/org/compiere/model/Scriptlet.java +++ b/base/src/org/compiere/model/Scriptlet.java @@ -161,10 +161,15 @@ public class Scriptlet { if (m_ctx == null) return; - Iterator it = m_ctx.keySet().iterator(); + Iterator it = m_ctx.keySet().iterator(); while (it.hasNext()) { - String key = (String)it.next(); + String key = it.next(); + // + // If key contains ".", skip it - teo_sarca BF [ 2031461 ] + if (key.indexOf(".") >= 0) + continue; + // Object value = m_ctx.get(key); try { @@ -240,7 +245,7 @@ public class Scriptlet m_ctx = new HashMap(); // Convert properties to HashMap - Enumeration en = prop.keys(); + Enumeration en = prop.keys(); while (en.hasMoreElements()) { String key = en.nextElement().toString();