You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Swapnil M Mane (JIRA)" <ji...@apache.org> on 2018/06/05 11:03:00 UTC

[jira] [Comment Edited] (OFBIZ-10389) The first visit event are not executed in case of CMS

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

Swapnil M Mane edited comment on OFBIZ-10389 at 6/5/18 11:02 AM:
-----------------------------------------------------------------

Thank you [~jacques.le.roux] for your note.
I will be not available for some upcoming days, will look into this ones I am back.


was (Author: swapnilmmane):
Thank you [~jacques.le.roux] for your note.
I will be not available for some upcoming days, will look into this ones I am back. 

- Best Regards,
Swapnil M Mane

> 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)