You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by de...@apache.org on 2015/11/21 13:02:00 UTC
svn commit: r1715501 - in /ofbiz/trunk/applications:
commonext/widget/CommonScreens.xml party/widget/partymgr/ProfileScreens.xml
Author: deepak
Date: Sat Nov 21 12:02:00 2015
New Revision: 1715501
URL: http://svn.apache.org/viewvc?rev=1715501&view=rev
Log:
(OFBIZ-6708) Applied patch from jira issue.
============================================================
Fixed Missing userLogin error on party profile screen when 1st content is non public.
Thanks Jacques for reporting the issue :) and Thanks Vishal for providing the patch for the issue.
Modified:
ofbiz/trunk/applications/commonext/widget/CommonScreens.xml
ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml
Modified: ofbiz/trunk/applications/commonext/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/widget/CommonScreens.xml?rev=1715501&r1=1715500&r2=1715501&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/commonext/widget/CommonScreens.xml Sat Nov 21 12:02:00 2015
@@ -71,7 +71,7 @@ under the License.
<order-by field-name="-fromDate"/>
</entity-and>
<set field="orgContentId" from-field="orgPartyContentMap[0].contentId"/>
- <set field="orgPartyContent" value="${groovy: orgContentId!=null?'/content/control/stream?contentId=' + orgContentId : ''}"/>
+ <set field="orgPartyContent" value="${groovy: orgContentId!=null?'/content/control/stream?contentId=' + orgContentId + externalKeyParam : ''}"/>
<set field="layoutSettings.organizationLogoLinkUrl" from-field="orgPartyContent" default-value="${orgPartyLogoMap.logoImageUrl}" global="true"/>
<set field="defaultOrganizationPartyCurrencyUomId" from-field="orgParty.baseCurrencyUomId" default-value="${defaultCurrencyUomId}" global="true"/>
<set field="defaultOrganizationPartyGroupName" from-field="orgParty.groupName" global="true"/>
Modified: ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml?rev=1715501&r1=1715500&r2=1715501&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml Sat Nov 21 12:02:00 2015
@@ -41,7 +41,7 @@
<order-by field-name="-fromDate"/>
</entity-and>
<set field="partyContentId" from-field="partyContentList[0].contentId"/>
- <set field="partyContent" value="${groovy: partyContentId!=null?"/content/control/stream?contentId=" + partyContentId : ""}"/>
+ <set field="partyContent" value="${groovy: partyContentId!=null?'/content/control/stream?contentId=' + partyContentId + externalKeyParam : ''}"/>
<set field="partyGroupLogoLinkUrl" from-field="partyContent" default-value="${lookupGroup.logoImageUrl}" global="true"/>
<set field="personalImage" from-field="partyContent"/>
</actions>