You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Scott Gray <sc...@hotwaxsystems.com> on 2015/07/13 10:31:50 UTC

Re: svn commit: r1690581 - /ofbiz/trunk/applications/party/src/org/ofbiz/party/content/PartyContentWrapper.java

The goal of a commit message is to describe the change, not to describe
what you happen to be doing at the time of making the change :-)

Regards
Scott

On 13 July 2015 at 19:58, <sh...@apache.org> wrote:

> Author: shijh
> Date: Mon Jul 13 07:58:34 2015
> New Revision: 1690581
>
> URL: http://svn.apache.org/r1690581
> Log:
> OFBIZ-6374. Put Sebastian Leitner's patch on PartyContentWrapper.java into
> trunk.
>
> Modified:
>
> ofbiz/trunk/applications/party/src/org/ofbiz/party/content/PartyContentWrapper.java
>
> Modified:
> ofbiz/trunk/applications/party/src/org/ofbiz/party/content/PartyContentWrapper.java
> URL:
> http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/content/PartyContentWrapper.java?rev=1690581&r1=1690580&r2=1690581&view=diff
>
> ==============================================================================
> ---
> ofbiz/trunk/applications/party/src/org/ofbiz/party/content/PartyContentWrapper.java
> (original)
> +++
> ofbiz/trunk/applications/party/src/org/ofbiz/party/content/PartyContentWrapper.java
> Mon Jul 13 07:58:34 2015
> @@ -105,11 +105,11 @@ public class PartyContentWrapper impleme
>      // static methods
>      public static String getPartyContentAsText(GenericValue party, String
> partyContentId, HttpServletRequest request) {
>          LocalDispatcher dispatcher = (LocalDispatcher)
> request.getAttribute("dispatcher");
> -        return getPartyContentAsText(party, partyContentId,
> UtilHttp.getLocale(request), "text/html", party.getDelegator(), dispatcher,
> true);
> +        return getPartyContentAsText(party, partyContentId, null,
> UtilHttp.getLocale(request), "text/html", party.getDelegator(), dispatcher,
> true);
>      }
>
>      public static String getPartyContentAsText(GenericValue party, String
> partyContentId, Locale locale, LocalDispatcher dispatcher) {
> -        return getPartyContentAsText(party, partyContentId, locale, null,
> null, dispatcher, true);
> +        return getPartyContentAsText(party, partyContentId, null, locale,
> null, null, dispatcher, true);
>      }
>
>      public static String getPartyContentAsText(GenericValue party, String
> partyContentTypeId,
>
>
>