You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2008/06/05 23:22:02 UTC

svn commit: r663743 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/tree/ModelTree.java

Author: adrianc
Date: Thu Jun  5 14:22:02 2008
New Revision: 663743

URL: http://svn.apache.org/viewvc?rev=663743&view=rev
Log:
Fixed bug I introduced in a previous commit.

Modified:
    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/tree/ModelTree.java

Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/tree/ModelTree.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/tree/ModelTree.java?rev=663743&r1=663742&r2=663743&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/tree/ModelTree.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/tree/ModelTree.java Thu Jun  5 14:22:02 2008
@@ -431,6 +431,7 @@
                             String thisPkName = node.getPkName();
                             String thisEntityId = (String) val.get(thisPkName);
                             MapStack<String> newContext = MapStack.create(context);
+                            newContext.push();
                             String nodeEntryName = node.getEntryName();
                             if (UtilValidate.isNotEmpty(nodeEntryName)) {
                                 newContext.put(nodeEntryName, val);