Author: jleroux Date: Sat Jun 15 13:57:03 2013 New Revision: 1493356 URL: http://svn.apache.org/r1493356 Log: Partially "Applied fix from R12.04 for revision: 1493353" PortalPageWorker.java not concerned ------------------------------------------------------------------------ r1493352 | jleroux | 2013-06-15 15:40:42 +0200 (sam., 15 juin 2013) | 40 lines
A patch from Olivier Heintz for "Portal page personalization is not working" https://issues.apache.org/jira/browse/OFBIZ-5189 A bug in portal page personalization. When trying to delete portlet or column in portal page, there is an error because in delete service, cache is used to read data before remove. Correction proposed is to remove use-cache="true" ------------------------------------------------------------------------ Modified: ofbiz/branches/release10.04/ (props changed) ofbiz/branches/release10.04/framework/common/script/org/ofbiz/common/PortalPageServices.xml Propchange: ofbiz/branches/release10.04/ ------------------------------------------------------------------------------ Merged /ofbiz/trunk:r1493352 Merged /ofbiz/branches/release12.04:r1493353 Modified: ofbiz/branches/release10.04/framework/common/script/org/ofbiz/common/PortalPageServices.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release10.04/framework/common/script/org/ofbiz/common/PortalPageServices.xml?rev=1493356&r1=1493355&r2=1493356&view=diff ============================================================================== --- ofbiz/branches/release10.04/framework/common/script/org/ofbiz/common/PortalPageServices.xml (original) +++ ofbiz/branches/release10.04/framework/common/script/org/ofbiz/common/PortalPageServices.xml Sat Jun 15 13:57:03 2013 @@ -50,7 +50,7 @@ under the License. <simple-method method-name="deletePortalPageColumn" short-description="Delete a Column from a PortalPage"> <call-simple-method method-name="checkOwnerShip"/> - <entity-one entity-name="PortalPageColumn" value-field="column" auto-field-map="true" use-cache="true"/> + <entity-one entity-name="PortalPageColumn" value-field="column" auto-field-map="true"/> <if-not-empty field="column"> <entity-and entity-name="PortalPagePortlet" list="portalPortletList"> <field-map field-name="portalPageId" from-field="column.portalPageId"/> @@ -77,7 +77,7 @@ under the License. <simple-method method-name="deletePortalPagePortlet" short-description="Delete a PortalPortlet from a PortalPageColumn"> <call-simple-method method-name="checkOwnerShip"/> - <entity-one entity-name="PortalPagePortlet" value-field="portlet" auto-field-map="true" use-cache="true"/> + <entity-one entity-name="PortalPagePortlet" value-field="portlet" auto-field-map="true"/> <if-not-empty field="portlet"> <make-value value-field="newEntity" entity-name="PortletAttribute"/> <set field="newEntity.portalPageId" from-field="portlet.portalPageId"/>

