[jira] [Commented] (OFBIZ-5822) use requestParameters for customMethod call

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-5822) use requestParameters for customMethod call

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-5822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14213611#comment-14213611 ]

Jacques Le Roux commented on OFBIZ-5822:
----------------------------------------

Thanks to Scott's post on dev ML, improved in trunk at revision 1639887.

I will wait to commit the last changes for the Poodle vulnerability (OFBIZ-5848) in release branches (for running tests with Java 1.7) before backporting, because I used the "new" diamond operator in r1639887.

> use requestParameters for customMethod call
> -------------------------------------------
>
>                 Key: OFBIZ-5822
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5822
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: Release Branch 12.04, Release Branch 13.07, Trunk
>            Reporter: Gaudin Pierre
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Trunk, 12.04.06, 13.07.02
>
>         Attachments: ContentWorker.java.patch
>
>
> For a content, you can set a custom method that perform an action before content's rendering.
> Unfortunately, in the customMethod call, the request Parameters can't be used because they are not set into the map that is used to create custom method IN parameters.
> This patch solves this problem



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)