Jacques Le Roux created OFBIZ-9234:
--------------------------------------

             Summary: The ecommerce breadcrumb fails when you come from the 
product link
                 Key: OFBIZ-9234
                 URL: https://issues.apache.org/jira/browse/OFBIZ-9234
             Project: OFBiz
          Issue Type: Bug
          Components: ecommerce
    Affects Versions: Release Branch 16.11, Release Branch 15.12, Trunk, 
Release Branch 14.12, Release Branch 13.07
            Reporter: Jacques Le Roux
            Assignee: Jacques Le Roux
            Priority: Minor
             Fix For: Upcoming Release, 16.11.02, Release Branch 15.12, Release 
Branch 14.12, Release Branch 13.07


To reproduce
# Get to 
https://demo-stable.ofbiz.apache.org/catalog/control/EditProduct?productId=GZ-1000
# 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




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to