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

The first visit event are not executed in case of CMS

    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

        1. OFBIZ-10389.patch
          2 kB
          Swapnil Mane
        2. OFBIZ-10389.patch
          2 kB
          Swapnil Mane

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: