Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10389

The first visit event are not executed in case of CMS

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 16.11.05, 17.12.01
    • cmssite
    • None

    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

      if (this.trackVisit(request) && session.getAttribute("_FIRST_VISIT_EVENTS_") == null) {
          // execute first visit event
      }
      

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jleroux Jacques Le Roux
            swapnilmmane Swapnil Mane
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment