[
https://issues.apache.org/jira/browse/OFBIZ-10389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Swapnil M Mane updated OFBIZ-10389:
-----------------------------------
Description:
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.
was:
Execution of the first visit 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.
> 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
> Reporter: Swapnil M Mane
> Assignee: Swapnil M Mane
> Priority: Major
> Fix For: Trunk
>
> Attachments: 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)