Skip to content

Product Browser not working after refresh and category/product was selected #110

Description

@geertsmichael

Expected Behaviour

After refreshing the product browser when a category or product was selected, results in a broken product Browser. I am expecting to stil see all catalogs and the parent categories.

Actual Behaviour

After refreshing the product browser when a category or product was selected, results in a broken product Browser.I want to provide a link to a category or product, which will not render the catalogs anymore.
Instead the selected category or products becomes the root of the Product Browser and I cannot switch to another catalog anymore.

Steps to Reproduce

  1. Open http://localhost:4502/libs/commerce/gui/content/products.html/var/commerce/products
  2. Select a Catalog, a category and then a sub-category. This still works fine
  3. Now refresh the Product browser or use the url in the address bar and open it in a new tab
  4. Now the catalogs and categories are gone, and I only see the product. On top I also get an error message in the 'left pane'

Platform and Version

AEM 6.4.5 & CIF 0.9.0
(On CIF 0.8.0 we don't have this issue)

Sample Code that illustrates the problem

Schermafbeelding 2020-03-30 om 11 35 51

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions