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

Sascha Rodekamp commented on OFBIZ-3988:
----------------------------------------

:) Doesn't matter Jacques. 
Just put a Breakpoint in an Event which is called from a request. This Request 
should use *https*. When you call the request from *http* ofbiz switches from 
http to https, and here is the bug, the event is called twice.
Important is that the Event is called from a request which uses *https* and you 
type in your browser *http://...:*

> Redirect from Http to Https causes double service call
> ------------------------------------------------------
>
>                 Key: OFBIZ-3988
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3988
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: Sascha Rodekamp
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3988_RequestHandler.java.patch
>
>
> Hi guys,
> little patch a big effect :)
> The problem is, when you call a request over http, but the controller wants 
> an https request, the RequestHandler make an redirect to https (which is 
> indeed pretty cool). But this redirect causes that Events/ Services will be 
> called twice.
> This can be avoided when we return from the Service/ Event directly after 
> doing the redirect.
> Have a good day
> Sascha

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to