You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by bu...@apache.org on 2010/10/14 22:57:10 UTC

svn commit: r1022705 - /ofbiz/trunk/framework/common/script/org/ofbiz/common/PortalPageServices.xml

Author: buscob
Date: Thu Oct 14 20:57:10 2010
New Revision: 1022705

URL: http://svn.apache.org/viewvc?rev=1022705&view=rev
Log:
Removed the creation of the first PortalPageColumn when creating a new PortalPage. A PortalPage is now created without any column.
The first column creation caused that when the user derives a private PortalPage from a system PortalPage this is created with an extra empty column.

Modified:
    ofbiz/trunk/framework/common/script/org/ofbiz/common/PortalPageServices.xml

Modified: ofbiz/trunk/framework/common/script/org/ofbiz/common/PortalPageServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/script/org/ofbiz/common/PortalPageServices.xml?rev=1022705&r1=1022704&r2=1022705&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/script/org/ofbiz/common/PortalPageServices.xml (original)
+++ ofbiz/trunk/framework/common/script/org/ofbiz/common/PortalPageServices.xml Thu Oct 14 20:57:10 2010
@@ -133,8 +133,6 @@ under the License.
                 <make-next-seq-id value-field="newPortalPage" seq-field-name="sequenceNum"/>
             </if-empty>
             <create-value value-field="newPortalPage"/>
-            <set field="newPortalPageColumn.portalPageId" from-field="newPortalPage.portalPageId"/>
-            <call-service service-name="addPortalPageColumn" in-map-name="newPortalPageColumn"/>
             <field-to-result field="newPortalPage.portalPageId" result-name="portalPageId"/>
         </if-not-empty>
     </simple-method>