ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swapnil M Mane (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-10389) The first visit event are not executed in case of CMS
Date Tue, 05 Jun 2018 11:06:01 GMT

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

Swapnil M Mane commented on OFBIZ-10389:
----------------------------------------

Dear [~jacques.le.roux],
Thank you for your inputs, I am attaching the updated patch and tested it with the scenarios
you suggested.

In updated patch, done following code change.
If requestMap is null, used the default controller request.

Please have a look into this.

Thanks! 

> The first visit event are not executed in case of CMS
> -----------------------------------------------------
>
>                 Key: OFBIZ-10389
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10389
>             Project: OFBiz
>          Issue Type: Bug
>          Components: cmssite
>    Affects Versions: Trunk
>            Reporter: Swapnil M Mane
>            Assignee: Jacques Le Roux
>            Priority: Major
>         Attachments: OFBIZ-10389.patch, OFBIZ-10389.patch
>
>
> Execution of the first visit events depends on the trackVisit function
> In ofbiz/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
file
> {code}
> if (this.trackVisit(request) && session.getAttribute("_FIRST_VISIT_EVENTS_")
== null) {
>     // execute first visit event
> }
> {code}
> trackVisit function does not honor the default controller request (in this case, cms)
> So, we should improve the code of trackVisit to honor default controller request.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message