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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user