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.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1022705 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bruno Busco
2010-10-14 20:57:10 +00:00
parent 4d6e815b0f
commit 94d22886eb
@@ -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>