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

        Activity

        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Fixed in
        trunk r1784708
        R16.11 r1784709
        R15.12, 14.12, 13.07 r1784721

        BTW for another reason, when coming from catalog/product or not, the ecommerce webapp is broken in R14/15

        Show
        jacques.le.roux Jacques Le Roux added a comment - Fixed in trunk r1784708 R16.11 r1784709 R15.12, 14.12, 13.07 r1784721 BTW for another reason, when coming from catalog/product or not, the ecommerce webapp is broken in R14/15
        Hide
        pfm.smits Pierre Smits added a comment -

        Attached image shows the breadcrumb.

        Show
        pfm.smits Pierre Smits added a comment - Attached image shows the breadcrumb.

          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:

              Development