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

The first visit event are not executed in case of CMS

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 17.12.01, 16.11.05
    • Component/s: cmssite
    • Labels:
      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 M Mane
        2. OFBIZ-10389.patch
          2 kB
          Swapnil M Mane

          Activity

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              swapnilmmane Swapnil M Mane
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: