[
https://issues.apache.org/jira/browse/OFBIZ-3988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-3988.
----------------------------------
Resolution: Fixed
Fix Version/s: Release Branch 10.04
Release Branch 09.04
Assignee: Jacques Le Roux
Thanks Sascha,
Your patch is in trunk at r1040044, R10.04 at r1040045, R9.04 at r1040046 (maybe incomplete see comment)
Thanks to your clear explanation, it was then a breeze to test. Tough one time I got something weird. Before applying the patch, the 1st request call did 2 non secured calls to setAssociationId and then 2 secured calls as you said. Then the next request call*s* (still with
http://8080) did only 2 secured to setAssociationId. I was not able to reproduce though. Anyway your patch is the clear solution to this issue.
> 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
> Assignee: Jacques Le Roux
> Fix For: Release Branch 09.04, Release Branch 10.04, 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.