Server Hit Bin, counterHit receive delegator
--------------------------------------------

                 Key: OFBIZ-3984
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3984
             Project: OFBiz
          Issue Type: Improvement
          Components: ALL COMPONENTS
    Affects Versions: SVN trunk
            Reporter: Sascha Rodekamp
             Fix For: SVN trunk


Hi,
here is a little patch to improve the delegator call in the countHit method.
The method got the delegator name from the session and get with this delegator 
name over the delegator factory the delegator.
But when the delegator name is not available in the session the method crashes. 
I try to get the delegator from the request, and if their is no delegator 
object i go the factory way.

I think it's a little bit saver to get an delegator object over this way

Have a nice 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