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

The ecommerce breadcrumb fails when you come from the catalog product link

    Details

      Description

      To reproduce

      1. Get to https://demo-stable.ofbiz.apache.org/catalog/control/EditProduct?productId=GZ-1000
      2. Click on the "Product Page" button

      You may notice an error which does appear erratically but most of the time, same on trunk demo and locally. This happens because sometimes the BREAD_CRUMB_TRAIL session attribute is empty or null. "Why not alway?" you might ask. I had no time to investigate but I guess because there is no bread crum trail when coming from catalog, and for some weird reasons, it's sometimes there.

      Anyway my fix is simple, if there is no BREAD_CRUMB_TRAIL in session I bypass the bread crum block in BreadCrumbs.ftl. It's not perfect but look far better

        Attachments

          Activity

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              jacques.le.roux Jacques Le Roux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: